Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2332

Re: functional languages -- any recommendations?

From Brian Candler <b.candler@pobox.com>
Newsgroups comp.lang.ruby
Subject Re: functional languages -- any recommendations?
Date 2011-04-05 07:43 -0500
Organization Service de news de lacave.net
Message-ID <8fc6df58b77b681f2a9e1e7819be15ba@ruby-forum.com> (permalink)
References <e5d09644917d0fada5c50cf47289944f@ruby-forum.com> <20110405101339.52fe20a5@fractal>

Show all headers | View raw


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/.

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

functional languages -- any recommendations? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-04 20:17 -0500
  Re: functional languages -- any recommendations? Josh Cheek <josh.cheek@gmail.com> - 2011-04-04 22:37 -0500
  Re: functional languages -- any recommendations? Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-04-05 00:29 -0500
  Re: functional languages -- any recommendations? Tony Arcieri <tony.arcieri@medioh.com> - 2011-04-05 00:47 -0500
    Re: functional languages -- any recommendations? Peter Hickman <peterhickman386@googlemail.com> - 2011-04-05 03:47 -0500
  Re: functional languages -- any recommendations? Brian Candler <b.candler@pobox.com> - 2011-04-05 03:54 -0500
  Re: functional languages -- any recommendations? Johnny Morrice <spoon@killersmurf.com> - 2011-04-05 04:13 -0500
    Re: functional languages -- any recommendations? Johnny Morrice <spoon@killersmurf.com> - 2011-04-05 05:14 -0500
    Re: functional languages -- any recommendations? Brian Candler <b.candler@pobox.com> - 2011-04-05 07:43 -0500
      Re: functional languages -- any recommendations? Johnny Morrice <spoon@killersmurf.com> - 2011-04-05 08:09 -0500
        Re: functional languages -- any recommendations? Brian Candler <b.candler@pobox.com> - 2011-04-05 10:36 -0500
          Re: functional languages -- any recommendations? serialhex <serialhex@gmail.com> - 2011-04-05 11:21 -0500
          Re: functional languages -- any recommendations? Tony Arcieri <tony.arcieri@medioh.com> - 2011-04-05 12:30 -0500
  Re: functional languages -- any recommendations? serialhex <serialhex@gmail.com> - 2011-04-06 13:04 -0500
    Re: functional languages -- any recommendations? Johnny Morrice <spoon@killersmurf.com> - 2011-04-06 14:08 -0500
      Re: functional languages -- any recommendations? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-06 19:30 -0500

csiph-web