D vs C++

Bruno Medeiros brunodomedeiros+spam at com.gmail
Thu Jan 27 11:21:00 PST 2011


On 26/12/2010 05:45, bearophile wrote:
> Walter Bright:
>
>> I thought the idea that break and continue were bad died about 25 years ago.
>> Pascal didn't allow them, and pretty much everyone hated the workaround of
>> having to use flag variables.
>
> You need to add some shades of grey to your palette. break, continue and goto are bad, and it's better to limit their usage.

Ehh?! Awww man, not this crap again... 
(http://www.digitalmars.com/d/archives/digitalmars/D/The_singleton_design_pattern_in_D_C_and_Java_113474.html#N115036)



-- 
Bruno Medeiros - Software Engineer


More information about the Digitalmars-d mailing list