|
|
|
|
|
by NooneAtAll5
22 days ago
|
|
I still don't understand the "feature creep" complaint python just introduced built-in sentinel, and only comment on an explainer video brought up that it's nothing new and is just a rename of unittest.mock.sentinel who even knew there's unittest module? who even knew there's unittest.mock? definitely not me because it doesn't matter - you use what you need and learn what you encounter. Same thing with C++ |
|
Python isn't immune from those either by the way (e.g. walrus operator, pattern matching) but nowhere near C++ level.