3 ms·
> Depending on the nature of your project and team, creating a series of DSL macros is almost certainly more work than it's worth. Initially - maybe. But it re
by sklogic 11y ago
> Depending on the nature of your project and team, creating a series of DSL macros is almost certainly more work than it's worth.
Initially - maybe. But it reduces the maintenance cost significantly. You'll write more code in the first place, yes, but it will be a much simpler code than a denser ad hoc solution, it will serve a better documentation for the problem you've been solving, and it will be easier to read, debug and change in the future.