3 ms·
Thanks to everybody for all these explanations! I understand the logic of the syntax now. A nice thing with Elixir is that it lures OO developers like me into
by pmontra 11y ago
Thanks to everybody for all these explanations! I understand the logic of the syntax now.
A nice thing with Elixir is that it lures OO developers like me into the realm of functional languages with a familiar syntax. Int -> Int is not familiar to me. I could guess what it is but then I also see an Int, Int and feel a little puzzled. If one of the goals of this language is to "convert" OO developers maybe you should consider a syntax they are fully familiar with. You could make long time functional developers feel not at home though. Maybe it's a trade-off that's impossible to avoid. It's your call.