I need to use Python, and I hate everything about it. And considering, that it is such a popular language, there’s obviously something I don’t understand. Please point me at some resources, which help me understand logic behind Python. For C++, such a resource was “Design and Evolution of C++”. It reconciled me with C++.
So far, it looks like it’s a language, that tries to be intuitive, but ends up being awfully confusing. I don’t mind investing some time upfront in learning basic concepts, but after that I expect everything to make sense. Contrary to that, it feels like you can, kind of, start writing code in Python without knowing anything, but it never gets easy. Consider such a simple thing as listing a class data member:
class Foo: x
It seems, depending on whether you assign a value to it or not, or provide a type annotation or not, or whether it’s in a dataclass or not, it’s quite different things that you’re doing. Personally, I think it’s insane.
I like C, I like Haskell, and I’ve been programming my entire career in C++. C++ is complicated, and sometimes looks kind of ugly, but at least I see the logic behind it, given historical context and everything.
I don’t see any logic behing Python – it’s just plain ugly, to me.
submitted by /u/gofeedthebears
[link] [comments]
r/learnpython I need to use Python, and I hate everything about it. And considering, that it is such a popular language, there’s obviously something I don’t understand. Please point me at some resources, which help me understand logic behind Python. For C++, such a resource was “Design and Evolution of C++”. It reconciled me with C++. So far, it looks like it’s a language, that tries to be intuitive, but ends up being awfully confusing. I don’t mind investing some time upfront in learning basic concepts, but after that I expect everything to make sense. Contrary to that, it feels like you can, kind of, start writing code in Python without knowing anything, but it never gets easy. Consider such a simple thing as listing a class data member: class Foo: x It seems, depending on whether you assign a value to it or not, or provide a type annotation or not, or whether it’s in a dataclass or not, it’s quite different things that you’re doing. Personally, I think it’s insane. I like C, I like Haskell, and I’ve been programming my entire career in C++. C++ is complicated, and sometimes looks kind of ugly, but at least I see the logic behind it, given historical context and everything. I don’t see any logic behing Python – it’s just plain ugly, to me. submitted by /u/gofeedthebears [link] [comments]
I need to use Python, and I hate everything about it. And considering, that it is such a popular language, there’s obviously something I don’t understand. Please point me at some resources, which help me understand logic behind Python. For C++, such a resource was “Design and Evolution of C++”. It reconciled me with C++.
So far, it looks like it’s a language, that tries to be intuitive, but ends up being awfully confusing. I don’t mind investing some time upfront in learning basic concepts, but after that I expect everything to make sense. Contrary to that, it feels like you can, kind of, start writing code in Python without knowing anything, but it never gets easy. Consider such a simple thing as listing a class data member:
class Foo: x
It seems, depending on whether you assign a value to it or not, or provide a type annotation or not, or whether it’s in a dataclass or not, it’s quite different things that you’re doing. Personally, I think it’s insane.
I like C, I like Haskell, and I’ve been programming my entire career in C++. C++ is complicated, and sometimes looks kind of ugly, but at least I see the logic behind it, given historical context and everything.
I don’t see any logic behing Python – it’s just plain ugly, to me.
submitted by /u/gofeedthebears
[link] [comments]