7 ms·
I mostly agree with you, but still think that Python could be way simpler and equally powerful. I'd love to see a language similar to Python, but with named str
by skdotdan 7y ago
I mostly agree with you, but still think that Python could be way simpler and equally powerful. I'd love to see a language similar to Python, but with named structs instead of classes, for instance.
- whynotminot 7y agoOoooh that's an interesting idea. That is one thing about Python that has always been interesting. For new programmers, it's such an attractive language because it's very simple to get up to speed and pump out usable code. But to really start leveraging Python for more serious projects it's extremely useful to use Classes. And that's actually an appreciable bump in difficulty for inexperienced devs. I've seen go to great lengths to avoid it. Maybe named structs would be a simpler way for them to level up complexity, especially if they're coming from a C background.
- typon 7y ago@dataclasses?
- sametmax 7y agoPeople have not caught up with 3.5+ yet. I see plenty of code not using f-strings, chainmaps, pools and the likes. We can't expect them to known about dataclasses yet.