new DIP5: Properties 2

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Jul 28 13:54:22 PDT 2009


On Tue, Jul 28, 2009 at 4:49 PM, Dimitar
Kolev<DimitarRosenovKolev at hotmail.com> wrote:
> language_fan Wrote:
>> Yes, the C syntax has been scientifically proven to be the optimal for
>> humans to read. All the extra braces and semicolons are there to guide
>> your eye movement. I simply don't get why anyone would use a language
>> without those. In fact I see one problem in D when compared to C++:
>>
>> C++: class Foo {}; vs
>>
>> D: class Foo {}
>>
>> The missing semicolon makes me vomit. I wish the syntax will be fixed
>> some day. It would probably also ease the maintenance in case of
>> syntactic errors.
>
> The missing semicolon makes you vomit? Come on that is an exaggeration.
>
> I had problems in C++ with that stupid semicolon that was there for no apparent reason but to be forgotten by the programmers and to cause a bunch of non-understandable mistakes to be generated by the stupid debuggers.
>
> {} - should be a end point of its own without requiring people to tell it that there is nothing beyond it.
>
> It is like saying that you should put ";" after function definition.
>
> What errors will the missing ";" cause?
>
> As I said {} should be an end of its own.

His post was *extremely* sarcastic.  ;)



More information about the Digitalmars-d mailing list