Stricter protection attributes for students

Jesse Phillips jessekphillips+D at gmail.com
Mon May 31 23:34:47 PDT 2010


On Mon, 31 May 2010 21:47:18 -0400, bearophile wrote:

> D2 is quite complex, so it's not the best language to teach programming,
> but I think it can be used for this purpose too, for example by
> university students that already know basic programming in "simpler"
> languages (like Python).
> 
> Such students that need to learn OOP probably need to learn to use
> protection accessibility attributes too, as public, private, protected.
> Learning how to use them comes from programming practice.

I do not think this is a reason to change tho module/protection system in 
D. It is true that students are taught protection in the strictest sense, 
but that doesn't make it the right choice. And I believe you have already 
tried to cover why it is correct in other posts.

Fixing bugs in the system goes without saying though.


More information about the Digitalmars-d mailing list