13
Comments
  • 3
    Or maybe F#, but I would rather not...
  • 2
    @hube didn't had this one on my screen. How is it?
  • 4
    Erlang.
  • 3
    @2erXre5 tell me more about it
  • 2
  • 5
    ah its just my interest biased answer @Divisionbyzero

    But if you ask me why, then I reply with: Scala is too much Java (I really like Java, but not in terms of functional programming). And to decide between Erlang and Haskell will be hard. I like the fact that Erlang OTP has the fail approach, let it fail and restart instead of catching errors and handle it somehow. But because I don't know Haskell, this is always a biased opinion 😉
  • 6
    I went with F# just because I am mostly used to deal with .net languages

    Choose the one similar to what you know for a starter unless you want it for work then choose what best fits your job
  • 4
    @gitpush then I have to choose what fits best to web development.
  • 5
    @Divisionbyzero then go with Erlang, if I'm not mistaken @AlexDeLarge uses it
    Though Scala looks good since it combines functional programming and OOP, using Haskell for web development will be a pain, I wrote a class in F# and the same in C#, it was a pain writing in the functional way.

    For me I'd use functional languages only when I need to do calculations I don't see a good fit for it for a website or webservice, Java/C# can handle them just fine
  • 6
    @gitpush I believe you can do everything in a functional way. Therefore I want to learn and try some stuff in web development with functional programming. I think it will be a pain in the beginning, but should pay off when I don't have to redo every fucking piece I once build on every new project...
    But mainly I like the style and logic of it, because OOP all the way somehow never fitted me...

    Maybe @AlexDeLarge can share his experience about Erlang.
  • 4
    @Divisionbyzero yes that's one way of looking at it, but I think it is pretty much the same, it is just how you are thinking and writing, but one can screw it up on both sides
  • 2
    Haskell. Easily.
  • 2
    @Divisionbyzero you might find that interesting: https://youtu.be/BO-8Hx8kPtA
  • 2
    @2erXre5 thank you very much
  • 2
    @Divisionbyzero try elixir (and phoenix framework http://phoenixframework.org) for backend and elm for frontend.
  • 2
    I currently learn haskell at university and I like it really much.
    Comming from an oop background it's sometimes really hard but I think it is worth it.
    I don't know the evaluation strategy of erlang but lazy evaluation of haskell is neat... It let's you write infinite lists
  • 1
    @moars42 how is Haskell with webdev?
  • 1
    @rc5-asdf don't know, tell me. Is it good for webdev?
  • 1
    @AlexDeLarge thank you. I will start reading about Erlang and continue with elixir I think. I love how functional programming works and will try to bend my mind to fit this style.
  • 1
    @Divisionbyzero I'd absolutely recommend Elixir for web stuff. It's a sort of evolved version of erlang, better suited for modern web development.

    Its concurrency modern makes it generally superior to other alternatives in particularly stateful web backends (like socket based stuff, real time communications etc.)

    Haskell is damn fast for CPU intensive stuff, but you very rarely do any hard processing at a web backend. It's also a bit painful to code in in my experience

    Scala I'd leave for maybe some data analyst stuff
  • 0
    @vertti good points
Add Comment