Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

syntaxes

Name: Anonymous 2011-01-30 5:42

Which languages have the nicest syntaxes?

My personal favourites are Haskell and Eiffel in that order. They are clean, relatively simple, readable and nicely optimized for the idiomatic programming style in their respective languages.

On the other hand I think Scala's syntax is particularly awful. It's the ugly bastard child of Algol and ML which both aren't that nice to begin with. It tries to be more regular than java but this only makes it less readable (parentheses for indexing) and the optional period/parentheses for method calls can lead to confusing code:
foo bar baz foobar
is it foo.bar.baz.foobar or foo.bar(baz).foobar or foo.bar.baz(foobar)?
Not that I'm in love with the period notation but there are other ways (smalltalk) to make it easier on the eyes without introducing ambiguity.

FIOC is also hard to look at.

Name: Anonymous 2011-01-30 10:34

>>8
If lisp has a non-syntax, then what does Forth have? Anti-syntax?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List