Hacker News new | ask | show | jobs
by bsder 2102 days ago
> One major problem I experienced in my last job (where I worked on production rust) was the insane amount of macros and proc macros used.

Is there any language that allows full-fledged macros that doesn't have projects that descend into this?

This seems like a standard problem with programmers deciding 1) they don't like the language semantics and use macros to adjust that (then why are you using the language) or 2) over-factoring before you really have enough reuse.

1 comments

I'm not convinced totally that's the case, but I'm definitely more open to that idea after that job. I've stopped using macros in my side projects and I avoid projects that use them now.