3 ms·
metaprogramming in ruby carries a runtime cost. lisp macros (and rust macros) compile and so can be run without drastically decreasing Perf
by cultofmetatron 3y ago
metaprogramming in ruby carries a runtime cost. lisp macros (and rust macros) compile and so can be run without drastically decreasing Perf
- zdragnar 3y agoI don't disagree. The post I was replying to effectively said macros are too hard to use outside of small teams. They did have a point- it's not the kind of tool that you reach for on a whim. However, they can be fantastically useful when planned and used with discipline.