[-] bterwijn@programming.dev 2 points 6 months ago

Nice one, see the "Solution" link for correct answer.

[-] bterwijn@programming.dev 1 points 6 months ago

Different languages make different choices. The disadvantage of Haskell is that if you want to change one value in a collection of a million values that it either makes a full copy or tries to optimize by sharing values behind the scene, both resulting in significant overhead. Most people already understand that pure functional programming languages don't deliver except in very specific circumstances: Haskell TIOBE rating 0.32%, https://www.tiobe.com/tiobe-index/

[-] bterwijn@programming.dev 2 points 6 months ago

Incorrect sorry, check the "Solution" link for the correct answer.

[-] bterwijn@programming.dev 1 points 7 months ago

Yes a you get for free to set the tone, the others are more interesting.

[-] bterwijn@programming.dev 1 points 7 months ago

The whole point is to practice Python Data Model concepts, it's not a best-way-to-code example, so feel free to hate.

[-] bterwijn@programming.dev 1 points 7 months ago

You are right, in landscape mode it's better, but still not ideal. It's a project I don't have time for now. On the other hand, did you run Python code, in an IDE where the debugger visualizes the whole program state, on your Phone before?

[-] bterwijn@programming.dev 1 points 7 months ago

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

[-] 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
[-] bterwijn@programming.dev 1 points 8 months ago

Thanks, I'm pretty stoked about it myself.

33
Memory Graph Web Debugger (programming.dev)
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 ›

bterwijn

joined 8 months ago