Just hitting a shortcut and getting the code executed using everything loaded into the REPL and getting inline results is great.
It helps that Clojure only has expressions and no statements as well, so every form can be run and it will return something.
Here's what I mean, this is me doing 2021-Day2 AoC puzzle part 1. WHen this pops up
=> foo
https://www.youtube.com/watch?v=5HHLT2_a1tI
(You'll need to bump to 1080 resolution otherwise its probably unreadable)
My day job is C# and JS, I can't get anywhere close to this interactivity with my code. As the complexity of the code grows this becomes even more powerful.
Just hitting a shortcut and getting the code executed using everything loaded into the REPL and getting inline results is great.
It helps that Clojure only has expressions and no statements as well, so every form can be run and it will return something.
Here's what I mean, this is me doing 2021-Day2 AoC puzzle part 1. WHen this pops up
Next to a line, it's because I've hit CTRL+Enter on that line to evaluate the form.https://www.youtube.com/watch?v=5HHLT2_a1tI
(You'll need to bump to 1080 resolution otherwise its probably unreadable)
My day job is C# and JS, I can't get anywhere close to this interactivity with my code. As the complexity of the code grows this becomes even more powerful.