[1]: https://justjavascript.com/ [2]: https://css-for-js.dev/
[1]: https://justjavascript.com/ [2]: https://css-for-js.dev/
It can be quite fun to implement a simple data structure (tree, queue, etc.). in C and bind it to Python.
Otherwise, you can get a lot of dirty details by reading the source to complicated/magical libraries (e.g. pickle).
I was struggling to find why does a = [1, 2, 3] a = b b = b + [1] return a different value as compared to b += [1]
Looking into the source code, everything became clear. The + operator returns a pointer to a new list np containing all the elements from a and b, while += merely appends and returns a pointer to the original list
True, but teaching s programming language is different than teaching programming.
Diving into a new language is something you do if you already understand how computers work and how to turn requirements into code. But to first acquire that understanding as a beginner, it's not enough to be introduced to the specifics of any particular language, which is what the article is talking about; you need to clarify what is the role of a programmer in understanding a problem and finding ways to model it as a group of data structures and functions that live in the computer.
Why thanks for asking yes I do: I recommend my book, Illustrated Guide to Python 3 [0].
Yes, I teach "professional" Python programmers who lack a lot of the fundamentals. It is so easy to get my with Stack Overflow style of programming these days. (Plus a lot of my students don't want to be "programmers" they use Python as tool to get some job done.)
Feel that's sentiment get more now - it's *not* magic but the fact that everything works given it's all illusions is magical