bterwijn

joined 8 months ago
[–] bterwijn@programming.dev 0 points 7 months ago

C is incorrect,sorry. See the "Solution" link for the correct answer.

[–] bterwijn@programming.dev 2 points 8 months ago* (last edited 8 months ago) (2 children)

Actually running the code? I got to the stage where only AI can help me understand anything ;-)

[–] bterwijn@programming.dev 2 points 8 months ago* (last edited 8 months ago) (4 children)

Thanks for your feedback, much appriciated.

I agree that an exercise14.rst would be nice, but to save time I've let the code speak for itself now together with the visualizaion. I'll probably revisit and better document the exercises later.

At the Explanation link I try to give a general explanation about Pyrhon mutability (and copy later on), I agree some readers might find it hard to relate that to a specific exercise, but I don't want to write a specific explanation for each exercise.

[–] bterwijn@programming.dev 2 points 8 months ago* (last edited 8 months ago)

Thanks for reporting, should be fixed now.

[–] bterwijn@programming.dev 2 points 8 months ago (2 children)
[–] bterwijn@programming.dev 4 points 8 months ago* (last edited 8 months ago)

The "Solution" link gives the solution to the exercise, the "Explanation" link explains the Python data model concepts behind the exercise. If some parts are hard to understand let me know.

[–] bterwijn@programming.dev 3 points 8 months ago

Yes, that is a surprise to many, in other languages 'x+=y' and 'x=x+y' are the same.

[–] bterwijn@programming.dev 3 points 8 months ago

Thanks, glad it helps you.

[–] bterwijn@programming.dev 2 points 8 months ago* (last edited 8 months ago)

Glad you like it. Sketching by hand should remain standard practice, but for beginners that might be difficult. First they need to learn the right mental model to think about Python data, and I hope memory_graph can help with that.

[–] bterwijn@programming.dev 1 points 8 months ago

Thanks for adding. The link I posted should give people a quick animation to directly see what is possible instead of having to read through things first. That GitHub repo link is also on hat page. But you are right that some would probably want to start with the repo, thanks for feedback.

[–] bterwijn@programming.dev 1 points 8 months ago

Thanks, I'm pretty stoked about it myself.

32
submitted 8 months ago* (last edited 8 months ago) by bterwijn@programming.dev to c/python@programming.dev
 

Hi, I'm new, I'd like to share my new Memory Graph Web Debugger that you can use to visualize and debug your Python data structures with just one click. This is an example of a binary tree implementation. I feel this tool could level up Python education. I'm interested in your thoughts about it, feedback welcome.

view more: ‹ prev next ›