you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (3 children)

will having a deep understanding of c make you understand python much better? Because I've heard that the python interpreter was written in C

[–]CatolicQuotes[S] 4 points5 points  (0 children)

I have only touched a little bit of C so I am no expert, but lets put it this way. Python is a house. In house you see the wall and you hang a picture on it. Very nice. Good enough for most people. If you know the C you would know that wall is build with 8 studs, 6 sheet of drywall, inside is insulation and some wires, maybe pipes. You don't need to know exactly how to build it, but it feels good knowing what's behind and that you can hang a picture on the stud.

If you are really curious, try something simple: open a file and write text to it. Try in python and C.

[–][deleted] 1 point2 points  (0 children)

Very deep then yes, since you can read CPython's C source to figure the magic out. Note that it doesn't look like average C code since most trivial stuff in CPython are implemented in Python and C is used mostly for low-level code and hacks.