4 ms·
>you need to know everything about C++ in order to use it safely Well, you should know the libraries that you're using in C++, but I don't think that's any dif
by mxkopy 4y ago
>you need to know everything about C++ in order to use it safely
Well, you should know the libraries that you're using in C++, but I don't think that's any different in Python or Java. Granted, the mental model is more complex in C++ but that's the price you pay for the amount of control you get.
Also, isn't undefined behavior a lot easier to come across in Python since it's dynamically typed?
- adgjlsfhk1 4y agopython doesn't have c style undefined behavior. you might get unexpected behavior, but that is very different from undefined behavior which allows the compiler to delete your hard drive and launch a nuke if it feels like it.
- pjmlp 4y agoWell, import ctypes. Are you sure you master all language and library changes between versions, even minor ones? What are the major differences between Python 1.5 and Python 3.10?
- nicoburns 4y agoWhy does it matter how Python 1 worked? Nobody is using that these days. In fact , in 2022 you can probably even get away without knowing python 2 either.
- pjmlp 4y agoUntil you find libraries that were never updated.... Very lucky ones, those that can do their work from scratch using latest version of everything, including the OSes where they get deployed.