| ▲ | keithnz 2 hours ago | ||||||||||||||||||||||||||||
seems ironic that critics were saying, it needs typing, and all the elixir fans were saying you don't need typing, you don't get bugs related to typing because elixir is somehow magic, now they get typing and it finds bugs for them.... but you said you didn't need that to prevent bugs? But good to see! I spent a bunch of time trying out Elixir a while back, I enjoyed it, but just didn't agree with the lack of types. | |||||||||||||||||||||||||||||
| ▲ | pdpi an hour ago | parent | next [-] | ||||||||||||||||||||||||||||
> you don't get bugs related to typing because elixir is somehow magic, I've never followed Elixir particularly closely, but what I saw in some Erlang discussions was different. Discourse there was that you need to gracefully handle failure anyhow, so type errors can (should?) just get handled by the failure recovery machinery you're supposed to have anyhow. I disagree with that point of view, but it's much more defensible than "$LANGUAGE is magic". | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | munificent 39 minutes ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
This is the Goomba fallacy. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | jeremyjh an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I can’t swear I’ve never seen that claim - but I can’t remember seeing it if I ever did and certainly it would be a tiny minority position. The actual con arguments are basically “it is nice but has costs, maybe those don’t all get a good return”. It’s possible that position was correct before set-theoretic type theory was developed. | |||||||||||||||||||||||||||||
| ▲ | Xeronate an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
It was the same thing with javascript/typescript and python. Sometimes you just have to let people think what they want. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | IshKebab an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
It's the circle of life. Dynamically typed language has fans. Other people correctly say that it would be a lot more useful with static types. Fans take this personally and say it doesn't need static types because (they aren't useful anyway/it goes against the spirit of the language/it's only a scripting language anyway/you can just use a debugger/static types hurt productivity/etc. etc.) Then eventually they add static types. Happened to Python, JavaScript, Ruby... I'm sure there are more. | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | zuzululu an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
I think Elixir is interesting and there is real value but some stuff being sold as "all these libs/packages that haven't had any updates for over a year is fine because Elixir" I just don't buy it and to that point around typing feels like the same wish-washy hand waving from the community that is very off putting BEAM has genuine use cases but its not as wide as its made to believe. There are very good places where that is a perfect fit but it simply cannot upend Typescript. Elixir feels very similar to how Clojure started getting traction and then ultimately forgotten apart from its die hard fans, I'm not saying Elixir will go the same way but seems very hard for something new and bold to replace what is popular and boring. I do want Elixir to succeed (also Clojure as well and I advocated for it for a bit) but the low number of jobs still puts it in similar proximity to Clojure but BEAM I think would still provide uplift where Clojure simply could not | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| ▲ | mrcwinn an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
Please share that conversation you reference where the community said Elixir doesn’t need types because it is magic. | |||||||||||||||||||||||||||||
| ▲ | ramchip an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||
> you don't get bugs related to typing because elixir is somehow magic Really? All the Elixir fans were saying that? | |||||||||||||||||||||||||||||
| ▲ | globular-toast an hour ago | parent | prev [-] | ||||||||||||||||||||||||||||
Not really a contradiction. You don't need typing, but it can help. | |||||||||||||||||||||||||||||