Make imports private by default

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Fri Apr 14 05:33:36 PDT 2006


Derek Parnell wrote:
> On Fri, 14 Apr 2006 12:06:08 +1000, Sean Kelly <sean at f4.ca> wrote:
> 
>> Derek Parnell wrote:
>>> On Fri, 14 Apr 2006 03:37:14 +1000, kris <foo at bar.com> wrote:
>>>
>>>>
>>>> In order to make D easy to learn and use, surely consistency in 
>>>> usage should be a priority? D kinda has that right now in this 
>>>> particular area, in that everything is public by default. It would 
>>>> also be fine, IMO, if everything were private by default :)
>>>  How many cars have rubber steering wheels? After all, the other 
>>> wheels are made of rubber and we do worship consistency?
>>
>> Oh come on, that's a false analogy.
> 
> Sorry. "the heat of the moment" and all that stuff ... don't know what 
> came over me.
> 
> I'm just not convinced yet that "consistency" is the highest design 
> priority. To me, "usability" is more important even if that means that 
> two things are not 'consistent'.
> 
> --Derek Parnell
> Melbourne, Australia

I would like a language such as D to strive for the utmost consistency 
and orthogonality but also for "practicality" and "usability" (two 
qualities often hard to conciliate). So for me too it's not the prime, 
all-important goal, otherwise I'd be using LISP :P



-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list