5 ms·
I think my issue with Clojure is that it's hard to learn how to write good Clojure. There is very clearly a way that it should be written (to keep the code clea
by jb3689 8y ago
I think my issue with Clojure is that it's hard to learn how to write good Clojure. There is very clearly a way that it should be written (to keep the code clean, readable, and concise) but unless you are very familiar with working with Lisps then it's easy to create a giant mess
You could say that for a lot of other languages too, but you usually have some familiar base to work off of. That's less true with Lisps as they are so syntactically different than more mainstream languages
- kickopotomus 8y agoThis is my experience as well. I started working pretty heavily with Clojure about 2 years ago and just now feel that I am getting the hang of it in terms of style, yet I still feel like I have a ways to go. This has not been my experience with languages like Java, Python, Go, etc. where I feel that I can write good, clean code in a matter of weeks from reading through style guides and understanding language conventions.
- Royalaid 8y agoThis is getting better but unfortunately your best bet is still to read some examples of good open source projects. If you or anyone interested in some good starting places for good Clojure see: - https://github.com/gothinkster/clojurescript-reframe-realworld-example-app for a great webapp example - All of https://github.com/ztellman work but specifically: - https://github.com/ztellman/manifold for more advanced Clojure - https://github.com/reagent-project/reagent for interop with JS and advanced Clojurescript usage