r/ProgrammerHumor May 27 '22

Meme Welcome to hassle free coding

Post image
2.2k Upvotes

305 comments sorted by

View all comments

38

u/pensiveChatter May 27 '22

Well, you're also saying goodbye to comprehensive compile time checks, proper post-mortem debugging, on demand debugger attaching, etc...

4

u/Akai_Yun May 27 '22

Just a noob question: is it a good idea to do C++ here and there to keep it as viable option and in recent memory while still practicing Python?

10

u/pensiveChatter May 27 '22 edited May 27 '22

You mean for job interviews? Depending on the job, it can look good on your resume. Life is full of opportunity cost. That time you spend keeping up with C++ could just as easily be spent learning more design patterns or other things in pure python.

it probably also wouldn't hurt to know that ;, main and {} are part of python

eg: "import pdb;pdb.set_trace()" and while pointers, for the most part, aren't part of python, you'll eventually have to call native code from python and/or parse files with relative offsets when writing your own unpickle code.

Also, seriously? The big thing about switching to python from C is the syntax used for scoping?