FWIW I prefer what I think is theĀ "Niklaus Wirth style syntax" for
declarations at least (perhaps it just follows normal mathematical
notation but I''m no mathematician).

Looks like:

  name: Type

rather than:

  Type name;

The tradition of Pascal/Modula/Oberon/ML/Eiffel has been picked up
recently for Scala (even though Java is of the Algol/C tradition). It
seems better to have the type on the right so that you can elide it
when it can be inferred. I recall there being an alternative
pascal-like syntax for C++ that certainly made function pointer
declarations easier to read. Google found it here:

  http://en.wikipedia.org/wiki/Significantly_Prettier_and_Easier_C%2B%2B_Syntax

Cheers,
Steve.

_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to