News for hackers. Stuff that matters.
Re:Erlang/OTP 26 Highlights by ralphc on Tuesday May 16, 2023 @08:24PM (#35969693)
Have you used Elixir? I ask because the Elixir books mention that setting up GenServers is easier in Elixir, with behaviours and callbacks you don't have to write code for all the functions in a GenServer if you're not using them, while it's required in Erlang.
Re:Erlang/OTP 26 Highlights by nvarsj on Wednesday May 17, 2023 @03:44AM (#35972357)
The callbacks in Erlang are for the most part optional. I think gen_server only requires init defined. Elixir is a cool language but I prefer Erlang.