by rozap · 3y ago · 0 comments
Because people like making wild and provocative claims to motivate writing a paper for which the conclusion was already decided.
Anyone who has used, I dunno, any of programming languages that are being discussed has a more nuanced take, and isn't spending time trying to force all things into Box A or Box B.
Elixir/Erlang has a pleasant concurrency model. It does some things well, it does other things less well. It eliminates a big class of bugs, and yet you can still write bugs in Elixir.
These sorts of papers are a waste of space on the internet imo.
“My synchronous reply timed out, so why I am I getting a message after the timeout?!”
“Why did deleting my build directory fix the compile error?!”
“How do I keep my app from crashing when my supervisor crashed too many times in a given timeframe?!”
So many adventures to be had.
Fourth is the wrong question to ask: if the failure handling mechanism is invoked too frequently, fix the failures, not the recovery.
Third is definitely my fault. Bug reports are appreciated whenever possible.
But generally speaking, yes, debugging is part of every programming language, and concurrency and distribution will add to the adventure whenever used, to varying degrees depending on the programming language.
In any case, the answer continues to be "it depends". But people will continue to look for "one weird trick" solutions to every problem.
I think erlang ecosystem has its own warts like any other one but debugging definitely isn't one
Here are a few examples of what you can do in erlang/elixir:
Inspect function calls that match specific argumrnt patterns, which can get pretty detailed. Tag processes by id, future processes under a supervisor, or other criteria, and limit tracing to these. Limit tracing to n occurences. As in automatically disable tracing after it triggered n times.
Typically one combines these and more to identify issues pretty rapidly.