4 ms·
I think it's interesting that Rich seems to miss out on Erlang (and Elixir) entirely, even when he gets to talking about Situated Programs and Runtime Tangibili
by s_kilk 9y ago
I think it's interesting that Rich seems to miss out on Erlang (and Elixir) entirely, even when he gets to talking about Situated Programs and Runtime Tangibility, not even to speak of Concurrency.
- erokar 9y agoElixir seems very similar to Clojure to me (the former being influenced by Clojure).
- s_kilk 9y agoAbsolutely, (I moved over to Elixir from Clojure) and hence it seems like a strange blind-spot. When Rich talked about Systems programming and Runtimes, I expected Erlang/Elixir to come up as obvious examples along with Smalltalk and Common Lisp.
- christophilus 9y agoI'd love to read a writeup on your experience doing this. I love Clojure, and really don't like the Elixir syntax (though I used to dislike the Clojure syntax, so...) Have you found Elixir's oddities (like calling lambdas in a different way than you call functions lambda.(:bar) vs func(:bar)) to be annoying?
- erokar 9y agoChiming 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.
- hlship 9y agoI do 100% Clojure work, but am learning Elixir (and may someday use that at work as well). In any case, there's a lot to like on both sides, but there's also a dichotomy: communicate by sharing state (Clojure - atoms, channels) vs. share state by communicating (Erlang/Elixir - everything is a one-way message). To be honest, what I really like about Elixir so far is the developer affordances: excellent REPL, super-fast startup time, and building on 30-ish years of OTP.