by yelnatz · 10y ago · 0 comments
When reading (and reviewing) code, sometimes you can't logically follow what's going on since most of the code is hidden behind macros.
It's ok if I'm on my IDE that helps expand macros to quickly check the flow, but when it's on a webpage or in a gist somewhere, you're on your own.
Sort of like Rails was big on testing, which was generally a win.
There are a few exceptions where there are very large projects that make heavy use of macros (Phoenix's router, Ecto), but they are by far the exception. Most of the macros you use every day are simple ones.