by mkoubaa · 1y ago · 0 comments
An admirable statement of policy, but I'm not sure it's possible. Adding complexity to the language means there are more gotchas and edge-cases that a programmer must consider, even if they don't use the feature in question.
I like this feature as string formatting is something frequently used and this certainly looks cleaner and quicker to write.
Since this is C++, this is not a problem we have to consider
C++ has lots of features that interact with each other in unexpected ways that could leak memory or access freed memory etc.