3 ms·
That is just wrong. > You need Beam and the Elixir. I find that really weird, because I'm used to just the language like in Python, Java, C, Rust. Not somethin
by victorbjorklund 5mo ago
That is just wrong.
> You need Beam and the Elixir. I find that really weird, because I'm used to just the language like in Python, Java, C, Rust. Not something underneath it, too
The beam is a VM. You get that Java requires a VM too right? It’s called JVM for a reason. And Python requires an interpreter.
> There is no debugger. The way to debug Elixir is to print stuff to the console, like 40 years ago.
That is false. https://www.erlang.org/doc/apps/debugger/debugger_chapter.html https://www.erlang.org/doc/apps/debugger/debugger_chapter.ht... and you have observer. And you have a lot of other debugging tools. I hear Java has a good one and maybe it’s better (I never used it) but it’s not true there exist no debuggers for the beam.
- Spixel_ 5mo agoAlmost nobody uses it though, which is too bad, especially since multi-head functions sometimes make it difficult to follow the execution path. I'd like to do step by step but I cannot plug the debugger to VScode from inside a docker container.
- seanclayton 5mo agoNo one I know wears the shoes I like to wear, which is too bad, because that means I can't enjoy them as much now.
- Spixel_ 5mo agoI meant that it doesn't get much love from the community, it's pretty clear it's not used much, that's why things like `dbg` gets added to the language.
- cmoski 5mo agoPeople use it.
- Spixel_ 5mo agoSome do, but the DX was bad last time I tried, I did not find a way to use it with my setup.
- deleted 5mo ago[deleted]
- ch4s3 5mo agoI've used it, but I've very rarely needed to do so.