3 ms·
Yes, I've been hasty to write sloppily today. One thing that is not perfect is the way Python treats classes; the mechanism is very much like in Java or C#. Mu
by pvdebbe 10y ago
Yes, I've been hasty to write sloppily today.
One thing that is not perfect is the way Python treats classes; the mechanism is very much like in Java or C#. Multiple dispatch requires some handiwork, although it's not half bad in a highly dynamic (so many things are first class in Python!) language. It kinda isn't Python's fault but there you go when trying to introduce concepts to fellow developers not in the most usual python guidebooks. And a part of the problem is Django, which is nice and all, but entails some highly unpythonic design choices and people around here take Django's way as gospel.
Pyrsistent is great. But I'd rather Python 4000 or something would go the way of scala or swift where you have immutable values by default and mutable values only when you specify it.