[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Language simplicity

Subject: Re: [Haskell-cafe] Language simplicity
From: Andrew Coppin
Date: Thu, 14 Jan 2010 19:38:48 +0000
Martijn van Steenbergen wrote:
Niklas Broberg wrote:
21 actually. case, class, data, default, deriving, do, else, if,
import, in, infix, infixl, infixr, instance, let, module, newtype, of,
then, type, where. There's also three special words that can still be
used as identifiers, so aren't reserved: as, qualified, hiding.
Since you can define operators in Haskell, would it make sense to
include '=', '--', ':', ',' etc. as "reserved names" since those can't
be used as operator names?
Makes sense to me...

It's merely more difficult to catelogue this information for a half-dozen different languages. Looking up the reserved word list is usually only a Google search away.
Somebody suggested to me that the best metric for "how difficult" a
language is to learn is "the number of orthogonal concepts you need to
learn". Of course, measuring THAT is going to be no picknick!
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>