Re: [vhdl-200x] Why OOP vs Generics

From: Paul Colin Gloster <Colin_Paul_Gloster@ACM.org>
Date: Fri Mar 18 2011 - 13:04:17 PDT

John Aynsley <john.aynsley@Doulos.com> claimed on March 18th, 2011:

|---------------------------------------------------------------------------------------------|
|"[..] OOP needs generics. [..] |
| |
|[..] OOP languages make heavy use of |
|"generics"" |
|---------------------------------------------------------------------------------------------|

OOP does not involve generics.

|---------------------------------------------------------------------------------------------|
|" in the form of type parameters (e.g. C++ templates)." |
|---------------------------------------------------------------------------------------------|

C++ does not support OOP.

|---------------------------------------------------------------------------------------------|
|" OOP without the ability to |
|parameterize types was really clunky, because you ended up hacking the necessary flexibility |
|re. types by casting void pointers." |
|---------------------------------------------------------------------------------------------|

OOP can be performed without casting.

Yours sincerely,
Paul Colin Gloster

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Mar 18 13:08:11 2011

This archive was generated by hypermail 2.1.8 : Fri Mar 18 2011 - 13:08:17 PDT