module keyword with curly brackets

Paulo Pinto via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 1 03:04:32 PDT 2014


Am 01.11.2014 um 10:29 schrieb ketmar via Digitalmars-d:
> On Sat, 01 Nov 2014 09:24:46 +0000
> bearophile via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>
>> tcak:
>>
>>> Is there any VERY SPECIAL reason behind that limitation?
>>
>> What advantages gives removing that "limitation"? Is the price in
>> increased complexity worth paying?
> nested modules, like in Modula. which were of almost no use and were
> removed in Oberon.
>

A few languages have nested packages. Quite usefull for implementation 
packages.

Beware of Wirth's quest for simplicity, even Go is a quite powerful in 
regards to Oberon-07.

 From my experience in the Oberon world, I got the feeling Wirth isn't 
that happy with Active Oberon and Zonnon in terms of language evolution, 
where he barely colaborated.

Hence why he eventually came up with Oberon-07, which is even more 
minimalist than Oberon.

--
Paulo


More information about the Digitalmars-d mailing list