News for hackers. Stuff that matters.
Re:Strong typing, a hill I'm willing to die on by bcrosby95 on Wednesday October 04, 2023 @11:21AM (#37766476)
I don't use dynamically typed languages because they're dynamically typed. I use them for other reasons and they happen to be dynamically typed.

I'm not going to argue that these features are only possible because of dynamic typing, but regardless, statically typed languages tend not to have them.

Elixir may get "some form" of typing, but it likely won't be traditional static typing.

Re:Strong typing, a hill I'm willing to die on by syndicatedjelly on Wednesday October 04, 2023 @11:43AM (#37766824)
What are those features?
Re:Strong typing, a hill I'm willing to die on by bcrosby95 on Wednesday October 04, 2023 @12:10PM (#37767258)
STM, REPL, and data driven nature of Clojure. I know most people don't use STM in Clojure, but I find it to be a killer feature for some projects. Combined with pervasive immutability and it enables concurrent designs that are very difficult to pull off in other languages.

For Elixir, the concurrency model and supervisor trees. It's a perfect fit for some problems, and in general as a small company, the projects we use Elixir on greatly simplifies our production environment which is always a win.

Most of my focus when designing a project is to enable people with less experience than me to contribute in a bug-free fashion in the face of concurrency and parallelism. Sometimes that involves picking a funny language, sometimes it doesn't.