5 ms·
At my previous job, we re-did some Java stream processing stuff in Clojure. We added functionality, made it more stable and dropped 6K lines of code (out of 18K
by tincholio 4y ago
At my previous job, we re-did some Java stream processing stuff in Clojure. We added functionality, made it more stable and dropped 6K lines of code (out of 18K for that particular component) in the process. It felt like magic...
- capableweb 4y agoThat's not a fair comparison, rewriting anything in any lisp will dramatically reduce the amount of cruft, both lines of code and complexity.
- kaba0 4y agoDoubt. Plus, essential complexity is non-reducible.
- capableweb 4y agoEssential complexity I agree, you cannot get rid of (hence the whole "essential" part). However, when you program, lots of non-essential complexity sneaks in. If you've only ever written code in one language, I bet you wouldn't even be able to notice what is essential vs non-essential.
- argiopetech 4y agoIt is still a LOC reduction produced via rewrite. I don't think we should hold it against them that they choose a great target language for the rewrite...
- srcreigh 4y agoA lot of those dropped lines of code is gonna be lines which only contain }.
- gottacodethem 4y agoreplaced by lines of )))))