Learning Haskell makes you a better programmer?

Russel Winder russel at winder.org.uk
Fri Dec 28 05:02:56 PST 2012


On Fri, 2012-12-28 at 10:53 +0100, deadalnix wrote:
[…]
> It depends what you mean by functional. It seems to me that 
> you'll find 2 major things that are usually understood as 
> functionnal :
>   - abstraction based on first class function. javascript is the 
> perfect example here, and is functional.
>   - purity and immutability.

In the most recent "Open Source Journal", Uncle Bob has stated that all
you need to say is "no assignment" and you end up having to invent
functional programming.

> If you have no tools to enforce immutability, you need to 
> completely break abstraction to get the benefit. This is bug 
> prone and will not scale (without abstraction nothing big is 
> achievable).

I am not sure what you mean by "break abstraction" here. Nor how you get
to "will not scale". Can you elaborate?  Thanks.
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121228/62341b8d/attachment.pgp>


More information about the Digitalmars-d mailing list