Improvement to switch-case statement

Adam D. Ruppe destructionator at gmail.com
Fri Jan 2 15:55:48 PST 2009


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.

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list