News for hackers. Stuff that matters.
Re:Ask HN: On Rob Pike's Concurrency is not Parallelism? by rvirding on Tuesday July 31, 2012 @01:35PM (#4318585)
As in Prolog ',' and ';' are separators: ',' behaves like an and, first do then and then do this (as in Prolog); while ';' is an or, do this clause or do this clause (again as in Prolog). '.' ends something, in this case a function definition. Erlang's functions clauses are not the same as Prolog's clauses which explains the difference.

It is very simple really, think of sentences in English and it all becomes trivially simple.How many sentences end in a ';'?. And you almost never need to explicitly specify blocks.

Here http://ferd.ca/on-erlang-s-syntax.html are some alternate ways of looking at it.

Re:Ask HN: On Rob Pike's Concurrency is not Parallelism? by silentbicycle on Tuesday July 31, 2012 @01:54PM (#4318677)
Indeed. It makes sense to me. Are my intuitions about the origins of ;s separating top-level clauses accurate?

(Hello, Robert! :) )

Re:Ask HN: On Rob Pike's Concurrency is not Parallelism? by rvirding on Thursday August 02, 2012 @12:51AM (#4327330)
Sort of. The syntax evolved at the same time we were moving from Prolog onto our own implementation, which forced us to write our own parser and not rely on the original Prolog one. The biggest syntax change came around 1991, since then it has been mainly smaller additions and adjustments.