Hacker News new | past | comments | ask | show | jobs | submit login

> If you specifically have evidence that real world systems written in Clojure still look this tidy, that just makes me want to learn Clojure all the more.

Go look at any Clojure project on github. Seriously.

Stuart Halloway, one of the more prominent Clojure committers and evangelists once (semi-)famously said: "No function should ever be longer than 5 lines. And if you think you have one that needs to be longer, show it to me, and I'll prove you wrong."

That is some of the ethos behind the language.




He later said that this is not true after some people provided some examples. Its more a 99% rule.

Most of them are Java Interop related but sometimes a algorithem is clearer in one function.


>>sometimes a algorithem is clearer in one function.

Once many such reusable algorithms come up. The function sizes keep shrinking.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: