That is the real issue.
Police force anywhere else in the world that know how to behave would have approched the student, have had a small chat with him, found out all he had in hands was a bag of doritos, maybe would have asked politely to see the content of his bag, explaining the search has been triggered by an autodetection system that may lead to occasional errors and wished him a good day.
I've been writing python from the last century and this year is the first time I'm writing production quality python code, everything up to this point has been first cut prototypes or utility scripts.
The real reason why it has stuck to me while others came and went is because of the REPL-first attitude.
A question like
>>> 0.2 + 0.1 > 0.3
True
is much harder to demonstrate in other languages.The REPL isn't just for the code you typed out, it does allow you to import and run your lib functions locally to verify a question you have.
It is not without its craziness with decorators, fancy inheritance[1] or operator precedence[2], but you don't have to use it if you don't want to.
[1] - __subclasshook__ is crazy, right?
[2] - you can abuse __ror__ like this https://notmysock.org/blog/hacks/pypes
There’s a real split in this debate, between people living in countries that have this and people living elsewhere. People who have used it are generally supportive, if they think about it at all. People who’ve never lived in a country with this are generally skeptical about the benefits and pessimistic about the downsides (privacy, mainly). HN being HN, is almost entirely in the latter camp regardless of where they live.
I would have expected the Swiss to be skeptical, and to some extent they were. This is the narrowest possible margin of victory. Still, it would be interesting to know what argument the Yes campaign used that resonated with > 50% of voters.