Comment

Comment by erez-rabih

I’ve been professionally working with clojure for the last few years and never understood the comment block use cases.

Of course I might be missing some obvious advantages but it seems to me that it is better to invest the time in turning these comments into tests rather than having them thrown randomly in source files.

I mean eventually all these comment blocks are just test cases aren’t they? We use them to evaluate expressions and compare the output value to our expectations. When I want to explore I build a small test case and use the fast feedback loop to have it as interactive as possible. Would be happy to hear any thoughts on this.

parent erez-rabih 6 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton