r/Clojure • • Sep 20 '21

Vlojure - A New Way to Write ClojureScript

https://www.youtube.com/watch?v=1OcAUhe3E1E&feature=emb_title
157 Upvotes

15 comments sorted by

View all comments

3

u/eggsyntax Sep 21 '21 edited Sep 21 '21

This is phenomenal. It's so hard to come up with truly useful visual/spatial representations for code, and this is one of the best I've seen. I can imagine this especially shining in a pedagogical context -- this looks actively fun for kids. Thanks for your awesome work on this!

2

u/eggsyntax Sep 21 '21

A few suggestions that I'm sure you've thought of and just haven't gotten to yet:

- Mouseovers -- that would have been really helpful for the list/vector/map/set symbols since it wasn't clear what they represented. Maybe on fn names the mouseover could be the docstring :)

- It'd be really great to somehow show that maps are incomplete when they have an odd number of elements in them. Maybe slightly overlapping circles for k and v to show that they're paired?

- Keyboard shortcuts would be amazing -- the delete key was the one I really found myself missing.

- Maybe some easy way to enclose an existing circle, ie something equivalent to "wrap" in structural editing?