On Tuesday 30 October 2012, Aurélien Gâteau wrote:

> - it differs from many coding styles: Qt QML JavaScript, Douglas Crockford,
> jQuery, Node... so I think it is going to look odd and unfamiliar to many
> newcomers.

i think the historical reason is that the interpreter was used (is still?) to 
try to run it, and if encounters some parse error, craps semicolons all over 
the place and tries to execute it again (yep, quite gross ;).
not sure if still does that and if is done there too, or if some samer strict 
mode is in place.

personally, would really rather use functions declarations that look like 
kdelibs ones.

Cheers,
Marco Martin
_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to