hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

Are functional programmers normal? :)

Last post 06-21-2007, 9:34 by Brennan. 3 replies.
Sort Posts: Previous Next
  •  06-19-2007, 23:10 3279

    Are functional programmers normal? :)

    Today i mentioned to a colleague that I'm doing some functional programming in my spare time.

    His response was "Functional programming - isn't that the long haired, dope smoking end of computing?"

    Is he right?

    Geeked [8-|]

    (Me, I started losing my hair twenty years ago.. I'm on a number 1 1/2 razor.. I try to be normal, but have sometimes been accused of being eccentric).

  •  06-20-2007, 12:19 3281 in reply to 3279

    Re: Are functional programmers normal? :)

    I'd say they are not normal (I do not yet count myself as a functional programmer. I have some hurdles to get over. Lamda Expressions mostly).

    If normal is:

    - Writing lots of boilerplate
    - Wasting time with pointers and memory (as much as I love them)
    - Pulling your hair out tracking down null pointers
    - Writing helper function after helper function so your functions are not 3 or 4 computer screens long and 2 computer screens wide because of the nested structures
    - Creating some complicated structure and iterator when a simple list would suffice (car and cdr anyone?)

    Then no, I suppose they are not "normal".

    Time to get back to that wonderful thing called C++ Sleep [|-)]...

  •  06-21-2007, 0:57 3282 in reply to 3281

    Re: Are functional programmers normal? :)

    Good answer, Brennan! +5 Insighful.

    What are you using to learn F#? I've had a look at a few resources, and at the moment I'm using the O'Reilly ebook http://caml.inria.fr/pub/docs/oreilly-book/. I like that it is very detailed, and explains things in context of programming concepts, not just a simple "how to".

    - from a C++ refugee

  •  06-21-2007, 9:34 3287 in reply to 3282

    Re: Are functional programmers normal? :)

    Every programmer should read the SICP. Free on the web from MIT.
    http://mitpress.mit.edu/sicp/full-text/book/book.html

    The F# Manual Quick Tour - Teaches you alot of the syntax with good examples.
    http://research.microsoft.com/fsharp/manual/quicktour.aspx

    The .Net Section of the MSDN (MSDN >>> Java Doc)
    http://msdn2.microsoft.com/en-us/library/aa139615.aspx

    The SICP is a good start though. They're using Scheme in thier examples (I thought they were using LISP and it was confusing for the first two chapters). You can grab interpreters from thier site as well. RPN is definately annoying though...
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems