| ▲ | drekipus 6 hours ago | |
1. Your first example is very much expected, so I don't know what's wrong here. 2. Your examples / post in general seems to be "people can break semantics and get to the internals just to do anything" which I agree is bad, but python works of the principle of "we're all consenting adults" and just because you can, doesn't mean you should. I definitely don't consent to your code, and I wouldn't allow it to be merged in main. If you or your team members have code like this, and it's regularly getting pushed into main, I think the issue is that you don't have safeguards for design or architecture The difference with JavaScript "hurr durr add object and array" - is that it is not an architectural thing. That is a runtime / language semantics thing. One would be right to complain about that | ||