new DIP5: Properties 2

Dimitar Kolev DimitarRosenovKolev at hotmail.com
Tue Jul 28 21:11:29 PDT 2009


Jarrett Billingsley Wrote:

> 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.  ;)

Thank you for the clarification. :)



More information about the Digitalmars-d mailing list