255
Before and after programming
(piefed.jeena.net)
Post funny things about programming here! (Or just rant about your favourite programming language.)
I can't speak for others, but the python3 transition wiped the smile off my face for awhile there.
yep, that's how major version changes do be working. if they didn't decide to implement breaking changes to improve the language people would have been complaining about how terrible python2 is to use
Why? The most annoying thing that I remember about it was popular modules that hadn't been ported yet. In essence, a temporary problem; growing pains.
The Unicode/string/bytes changes were welcome (to me). But that might just be because I had actually encountered situations where I had to deal with seemingly endless complexity and ambiguity related to Unicode stuff and encodings. Python 3 made everything much more logical 🤷
looking at python2 code these days is very uncanny, just the fact that
print
is a magical keyword is so wrong: what is this? bash?