6 ms·
Having both approaches available would be better IMHO. Builder pattern is very nice but I frequently miss having named arguments too. Even if macros can partial
by joseluis 4y ago
Having both approaches available would be better IMHO. Builder pattern is very nice but I frequently miss having named arguments too. Even if macros can partially fullfill that need, it's not the same and introduces more quirks and complexity...
- Ygg2 4y agoProblem with named parameters is that they make renaming function params a breaking change.
- metaltyphoon 4y agoUnless the IDE doesn’t support this refactoring? It’s ridiculously easy in C# and VS or VSC.
- maxbond 4y agoFair enough.