News for hackers. Stuff that matters.
Re:Metaprogramming in Elixir by natrys on Saturday May 22, 2021 @02:19PM (#27248985)
Macros can be de-mystified with proper editor support. In Emacs and Lisp you can (recursively) use "macroexpand" to see what code it produces in-place. I am not an Elixir user (though thinking about hopping on), apparently there is alchemist.el[1] that lets you do that (with caveat, and the project seems dead tbh).

[1] https://github.com/tonini/alchemist.el

Re:Metaprogramming in Elixir by lukaszsamson on Saturday May 22, 2021 @04:41PM (#27250079)
Macro expansion has recently been added to elixir-ls[1] and is supported via custom command in vscode extension.

[1] https://github.com/elixir-lsp/elixir-ls

Re:Metaprogramming in Elixir by elcritch on Saturday May 22, 2021 @11:37PM (#27252221)
That’d be really handy! It’d make Phoenix that much more approachable. With good editor support, I much prefer macros to runtime OOP magic/design patterns.
Re:Metaprogramming in Elixir by natrys on Sunday May 23, 2021 @06:31AM (#27253961)
That's awesome! Now, what needs to happen for this to be supported in generic LSP clients like Emacs lsp-mode/eglot or nvim-lsp?