Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!talisker.lacave.net!lacave.net!not-for-mail From: Brian Candler Newsgroups: comp.lang.ruby Subject: Re: functional languages -- any recommendations? Date: Tue, 5 Apr 2011 07:43:42 -0500 Organization: Service de news de lacave.net Lines: 24 Message-ID: <8fc6df58b77b681f2a9e1e7819be15ba@ruby-forum.com> References: <20110405101339.52fe20a5@fractal> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1302007444 28511 65.111.164.187 (5 Apr 2011 12:44:04 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Tue, 5 Apr 2011 12:44:04 +0000 (UTC) In-Reply-To: <20110405101339.52fe20a5@fractal> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 380991 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <8fc6df58b77b681f2a9e1e7819be15ba@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:2332 Johnny M. wrote in post #990966: > Erlang doesn't have inheritance either but it doesn't become an exercise > in logic the same way because it doesn't have static-typing. > IIRC their structures are just transformed into a vector or something at > compile time, there's no real notion of a member of a data-structure. You're probably thinking of "records", which are basically just named offsets into a tuple. There are proper data structures too, such as "dict" which is somewhat like a ruby Hash. It can be a bit overwhelming at first having all the different built-in types: tuple, list, binary (when you'd just use Array in ruby) > I really like erlang though, the syntax is cool. Commas. It takes some grokking as to when you need a comma, when you need a semicolon, and when you need a dot. Erlang has great semantics and terrible syntax. -- Posted via http://www.ruby-forum.com/.