Darren New wrote:
>> (Does Pascal count as "module" too?)
>
> No. :-) One of the fundamental features of modules is information
> hiding. You can't hide the types in a Pascal program. At least, not
> standard pascal.
Yeah, this is the flaw. Pascal allows you to hide subroutines, but not
data structure details. Haskell does not have this unfortunate flaw. :-)
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|