r/cpp • u/anonymous23874 • Apr 19 '20
Default function arguments are the devil
https://quuxplusone.github.io/blog/2020/04/18/default-function-arguments-are-the-devil/
90
Upvotes
r/cpp • u/anonymous23874 • Apr 19 '20
View all comments
Show parent comment
1
u/NotMyRealNameObv Apr 19 '20
Have fun renaming a function argument name in your library if named arguments are added to the language.
Also, if you use strong types, it can be emulated using argument types instead of argument names.