Sealed classes - would you want them in D?
12345swordy
alexanderheistermann at gmail.com
Mon May 14 19:40:18 UTC 2018
On Monday, 14 May 2018 at 07:44:00 UTC, KingJoffrey wrote:
> D may as well just get rid of that encapsulation concept too,
> since the class interface is pretty much moot in D modules.
>
> Maybe.. we should even, just completely get rid of functions
> and classes - as well as all that other stupid so-called
> 'structured programming' crap, which just restricts us, and
> revert to 'real' programming - using just line numbers and goto
> statements. Then, finally, we programmers can do whatever we
> want again.
>
> Local reasoning...it's so old-school.
A slippery slope fallacy isn't helping your case. Write a DIP if
it bothers you so much, as it changes the languages fundamentally.
Alexander
More information about the Digitalmars-d
mailing list