top | item 32941932

(no title)

joseluis | 3 years 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...

discuss

order

Ygg2|3 years ago

Problem with named parameters is that they make renaming function params a breaking change.

metaltyphoon|3 years ago

Unless the IDE doesn’t support this refactoring? It’s ridiculously easy in C# and VS or VSC.