3 ms·
4Clojure empasizes non idiomatic solutions way to much imho. "Now solve this without using the standard way of solving it." doesn't seem like a good idea when
by j-pb 9y ago
4Clojure empasizes non idiomatic solutions way to much imho.
"Now solve this without using the standard way of solving it." doesn't seem like a good idea when you want people to write good readable code in the end :/
- pokpokpok 9y agowhen you're learning how a language works, unorthodox things are perfect.
- Slackwise 9y agoIt's supposed to make you understand the language, how it works, and why it works the way it does, not how to write it professionally. It exposes you to patterns you'll run into.
- solaxun 9y agoI disagree w/ this comment. The types of problems where it disallows using built-ins are typically those that have you re-implementing a function for purposes of learning. The implementation of that function, in my experience, is still fairly idiomatic if you are following the right users. Particularly those functions that force you to build a lazy implementation. I found the exercises (and more importantly comparing to more experienced user's solutions) incredibly helpful not just for clojure but FP concepts generally.