2 ms·
Chiming in here, having only dabbled with Elixir for a couple of months. My gripes: - Calling lambdas with a dot is a real wart. I find it very easy to forget
by erokar 9y ago
Chiming in here, having only dabbled with Elixir for a couple of months. My gripes:
- Calling lambdas with a dot is a real wart. I find it very easy to forget and it looks ugly.
- I also don't like the Rubyesque end keyword you have to provide for functions. Get's verbose. Whish Elixir was white space sensitive like Python, Haskell, Elm et al.
- Pattern matching in functions is an idiom that is overused. It easliy gets verbose since you have to type out the full function signature.
- A proliferation of data structures dictated by performance issues (lists vs. tupels, maps vs. keyword lists). Ugly map litteral: %{}. (Personal issue I guess, I tend to find $%& etc. ugly in a programming language. It's swearing at me!)
Apart from these gripes I like Elixir a lot. A clean and pretty simple language. Protocols are used in a nice way to acheive polymorphism (similar to Clojure, I think). Good as a first FP language. Gives you access to an interesting runtime.