Comment

Comment by Cmerlyn

No they aren't. A macro solution is always less readable and less performant than a proper compiler feature. But you can't get a compiler feature for everything. People have different needs for different tasks and doing all of it in the compiler is just not going to work. Macros allow programmers to implement features that would otherwise take years (if not decades) of standardization to be accepted in a language.
parent Cmerlyn 8 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton