Improvement to switch-case statement

John Reimer terminal.node at gmail.com
Fri Jan 2 17:31:25 PST 2009


Hello Adam,

> On Sat, Jan 03, 2009 at 01:36:23AM +0200, Yigal Chripun wrote:
> 
>> Maybe it's just me but all those C-style statements seem so arcane
>> and unnessaccary. real OOP languages do not need control structures
>> to be part of the language - they're part of the class library
>> instead.
>> 
> Don't forget that D isn't a "real OOP language" - it specifically is
> made to allow several programming styles, and the procedural style is
> one of them.
> 
> And I say the language is better for it.
> 


Yeah, I was just going to say that Smalltalk is the epitome of a pure OOP 
language, something D was never meant to be.

-JJR 





More information about the Digitalmars-d mailing list