News for hackers. Stuff that matters.
Re:Switching to Elixir by conradfr on Friday November 10, 2023 @10:52AM (#38220370)
In a functional language where you're writing a lot of functions it's a bore and feel very dated.

Especially as you have to write the function name so copy/paste from other @spec doesn't really at least speed it up.

It is what it is I guess.

Re:Switching to Elixir by keep_reading on Friday November 10, 2023 @11:42AM (#38221031)
well, you can avoid this if you try to limit the number of public functions so you don't have to do this as often. make as many defp functions as possible, really.