Link Details

Link 103840 thumbnail
User 214988 avatar

By puredanger
via tonyarcieri.org
Published: Aug 15 2008 / 12:14

Erlang programmers are awfully vocal about the idea of single assignment: unlike virtually every other language on the planet where you are free to bind values to the same identifier over and over again, in Erlang you can do it once and only once. However, if you ask an Erlang programmer why multiple assignment is a bad thing you’re unlikely to get a straight answer.
  • 12
  • 4
  • 1216
  • 334

Comments

Add your comment
User 102928 avatar

dglasser replied ago:

1 votes Vote down Vote up Reply

A good post, but I think the phrase "cargo cult" has become a stupid (and in this case misused) cliche in the programming world.

User 237027 avatar

AlainODea replied ago:

2 votes Vote down Vote up Reply

This article is poorly researched and touches only the surface of a recent heated debate on erlang-questions.

Kevin Smith summarizes the really key points on why Single Assignment is used in Erlang on his blog:
http://weblog.hypotheticalabs.com/?p=281

If single assignment is a problem for you, then you are not leveraging Erlang properly.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.