4 ms·
As others have noted, this is not idiomatic usage. But again, this is the design ... there's no bug. Languages are full of design decisions that may not be opti
by jibal 1y ago
As others have noted, this is not idiomatic usage. But again, this is the design ... there's no bug. Languages are full of design decisions that may not be optimal in all usages ... that's different from bugs. Footguns breed bugs.
Here's a page of non-bugs: https://www.reddit.com/r/ProgrammingLanguages/comments/1hd7llg/foot_guns_and_other_antipatterns/ https://www.reddit.com/r/ProgrammingLanguages/comments/1hd7l...