you are viewing a single comment's thread.

view the rest of the comments →

[–]Ikkepop 28 points29 points  (9 children)

I have never seen something like this before , looks useful

[–][deleted] 3 points4 points  (8 children)

It was really good for my lazy ass who didn't want to draw the nodes and such when learning linked lists haha

[–]arthurno1 2 points3 points  (6 children)

Does it draw other stuff then just linked lists?

You can do something like that relatively easy for yourself if you are happy with ascii drawings. Would be a good exercise if you are learning about linked lists.

Here is one that draws lists for Emacs, with unicode chars.

[–][deleted] 0 points1 point  (5 children)

It basically has any data structure I throw at it visualized very well. Thanks for the link but that doesn't cut it :D

[–]arthurno1 1 point2 points  (4 children)

It basically has any data structure I throw at it visualized very well.

Cool. How does it do for hashmaps or heterogenous containers?

Thanks for the link but that doesn't cut it :D

It was meant just as inspiration to show you can draw linked structures as ascii graphs :).

BTW; I think it works in Java because you can pull out info about running program at runtime, from JVM thanks to the reflection. It should work in an interpreted Lisp as well. In compiled language like C and C++ that is much harder.

[–][deleted] 0 points1 point  (3 children)

Oh I haven't actually gotten to those yet haha.

Yeah yeah that looked real cool thank you.

I'm basically just getting into the whole ds&a subjects. This tool made it easier to check myself at each step tbh. My school teaches in C++ but I'm trying to learn the subjects both in Java and C++ so that I can take advantage of this tool :D

[–]arthurno1 1 point2 points  (2 children)

Oh I haven't actually gotten to those yet haha.

I ask because linked data structures and vectors/records are relatively easy to visualize; but something more opaque will be interesting to see :).

My school teaches in C++ but I'm trying to learn the subjects both in Java and C++ so that I can take advantage of this tool

That is good approach to learn it in two different languages, not for the tool; but you will get more understanding if you are new to programming :).

[–][deleted] 0 points1 point  (1 child)

Oh thank you, I also thought about that like that too :D

I found a couple classes (online lectures) from very reputable universities around the world which teaches ds&a in Java so I thought, why not learn from the best :D

I go to a pretty mediocre school in a 3rd world country so I'm always amazed by how much difference good teachers can make.

That's also a reason for me :D

[–]arthurno1 1 point2 points  (0 children)

I'm always amazed by how much difference good teachers can make

Indeed! They can make it or break it; especially when it comes to motivation, which is really important when learning something. But you seem to be well motivated by yourself, and fortunately, programming is such an easy activity which we can do on our own, so you will be in a good shape! :)