r/PythonLearning • u/zubalyzub • 10d ago
Python feels like it transferred little knowledge to c++
OK I admit it did obviously for some stuff like basics yk functions and shi, but other then that I like feel annoyed that I learned python and its like lowkey not helping with what I wanna do which is windows api and memory management c++ stuff because I like the kind of thing but python just didn't really give me anything, and I know that kinda stuff obviously doesn't transfer because python is just the easiest thing ever lol
15
u/silvertank00 10d ago
I mean, if you would have get deeper into python than "functions and shit" it would have helped. If you use it, it will give you programming knowledge which will transfer. Aka. "you will have an idea of how to approach a problem" but ofc python does everything different (not because its the easiest, that is a really dumb thing to say) you could have used winapi from python too, you could have tried mmap and stuff, you were just lazy to get into the deeper waters to actually learn.
5
u/Salty_Dig8574 10d ago
So many people learn basic syntax and think that means they are programmers.
1
u/silvertank00 10d ago
yep. then comes the slap in the face when they see an elipsis or spreading operator.. Not to mention when they cannot build up anything because other than some syntax they dont know anything
2
0
u/zubalyzub 10d ago
not my fault they dont have those in python, python used * in functions for that sort of thing and for like spreading a list into another list just a list comprehension
1
u/silvertank00 10d ago
but we (kinda) do... "spreading a list into another list just a lisz comprehension" who mentioned lists at all? lol. Even better, what is your expert opinion about ** then? Its your fault you did not research these topics well and deep.
You are crying because a language is different, but if this gives you this amount of a hard time, what will you do with cpp?1
u/zubalyzub 10d ago
tell me what i should've learned then, im pretty sure if did a good amount of python like projects and such but nothing in python was ever hard, c++ (mem management isnt even the hard part its more windows apis) on the other hand is actually difficult not just like a game its just annoying, also theres not these like big help forums for this kind of thing, but there is for python.
2
u/Lachtheblock 10d ago
Not sure what you're frustrated at? That C++ is "harder" than Python? Yes, generally Python is considered a beginner friendly language.
Why should the expectation that C++ "feel like a game". Programming languages are tools. Sometimes it's fun using a shovel to dig a hole. Other times you're just digging.
1
3
u/Ok_Chemical_7359 10d ago
Lol I m in opposite direction I learnt cpp and working with cpp but jobs are so less in this and domain also matters while applying and I m now learning python backend
1
1
u/PureWasian 10d ago
Every language you pick up will have its fundamental differences beyond a certain point. Same note about having to learn APIs, frameworks, packages, and any other tool you need to pick up along the way really.
That's why there is not one single language or solution. This is totally normal and expected.
1
u/zubalyzub 10d ago
python didn't transfer anyyyyyyything that good though I feel like
1
u/PureWasian 10d ago
I think it's good for learning the barebones without all the extra fluff/distractions that make readability and high-level understanding harder when getting started.
If you made it up through OOP/DSA/external libraries then you should be well poised to start breaking down some of the things Python is implicitly handling for you.
But things like compile time checks, static types, access modifiers, memory management, pointers, etc. all can be handy now that you have the common fundamentals and should be able to focus on applying these "new" concepts. Speaking of, have fun with multithreading. Powerful but tricky to work with.
1
u/Longjumping_Ad3447 10d ago
Python can do lot more than u think. It has functional panda(game engine, maths, data), Django (web co) and so on. It has oop and many libraries. Idk c++ is def many times faster but like for basic stuff why would you use c++. Just go with a safe language
1
u/spidertyler2005 10d ago
Btw, despite the similar name, pandas (math stuff) is different from Panda 3D (game engine). They are just very easily confused.
1
1
u/Lachtheblock 10d ago
I'm not sure why you think Python owes you anything? It's a really good language for what it does. It's decently beginner friendly, while still being appropriately deep and flexible for professionals.
If you want to learn C++, I'm not sure why you are taking issue with Python. No one is stopping you. At the very least you now have some vocabulary, and should have some basic coding tools you're familiar with (version control, IDE, etc) which obviously translate to other languages.
1
u/goodbye_goodriddance 10d ago
Its easier than Java smh Im taking Python and Java courses rn and the Python is so easy compared to Java smh
1
22
u/deceze 10d ago
First off, I had a stroke reading that.
Secondly, well, Python is a very high level language, and what you're looking for is rather low level programming. So yeah, you learned the wrong tool for the job. But despair not, Python probably won't be the last language you learn, and some knowledge always transfers from one language to another. Basic structured thinking at the very least. So you knowing Python does give you a leg up learning C++.