Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Hazarth475358dAs someone who also went through this journey, there's a good chance you'll get addicted to python once you figure out it's strengths.
I feel right at home with C/C++ but undoubtedly I can prototype stuff and create helper scripts and data transformation tools for myself in record speeds in python. Hell, sometimes I can just use the interactive shell to get what I want. And python is installed almost everywhere where it matters too
RememberMe1638358dIf you're learning Python for "how the computer internals" work you're doing it very, very wrong. It's a scripting language. Completely different use cass.
GeorgeBool246358dWanna have the cake and eat it too?
1) Write C code
2) Compile into a shared lib
3) Call it from Python
4) Profit $$$
iiii713658dImagine trying to learn python to learn computer internals.
Yeah, I can't imagine that too.
BixelPitch95157dHonest question, why do someone want to learn python if you already mastered c? I mean, c is the mother of languages and runs on nearly every machine. And if you are good at it, your program is fucking efficient.
mrskidood157dlearned C# first. made a quite ambitious first console app and it went well. i wanted to move on to UI and learned C++ eh.... Now i learned python and making UI with tkinter is so easy.
natesymer21157dUhhhh fuck C++/C. It's needlessly complicated and will hurt productivity 99% of the time. Only useful for writing kernels, drivers, or anything that needs to be super-optimized. Maybe there are more use cases, but...
python exists to make programming faster, not better. if you need performance, you're better using anything else. at least the libraries are in C++, so they are fast enough
vintprox352156dThere is no black and white.
If one is up to making awesome UX with programming, they aren't required to understand race conditions and low level trickery. But it's just RIGHT if they try to understand it a bit. Just one thing at a time.
Same with you: why'd you need Python if you have doubts about high level paradigms? Well, it's WORTH to know these, since it takes quite a boilerplate in C++ before you even start thinking about how others will interact with your creation.
I can't stress enough how magical is all this when you can have executable compiled from C++ that outperforms everything you tackled before, but one gotta find something on high level to apply it on. The harmony.
Also, waving to Rust 👋
Hash-Dren1056dYeah for me I learned C/C++ because my interest is Security. And it will be hard to do security without Python and hence the need for python
JsonBoa50538d@Hash-Dren dude making system pipes and async responses and chaining log analizer tools in C/C++ will be hell.
Plus there are TONS of attack surfaces that are made in python, thus to properly homologate them you better be fluent in it.
Finally, if you are looking to overflow the fuck out of some buffers, it will more likely end up in a lame DoS. Getting rootkits in is a field on itself, and there aren't many people in the planet who can make a generic works-on-many-devices malware.
the money is in preventing lateral moves, and those all happen in tools made in higher-level languages.
Also plenty of money in making automated backups using a fucking Cron job and claiming you hacked the matrix. Just saying.