Fork me on GitHub
#beginners
<
2018-09-30
>
TK00:09:08

Hey guys, I'm a Clojure beginner and really interested in do TDD while solving some programming challenges. Do you use any test library to do function tests?

noisesmith00:09:57

clojure.test comes with clojure and is the most popular by far

👍 1
grierson22:09:48

Are there any guides on namespace naming? I see a lot of com.project.module.

martinklepsch22:09:53

There is a java convention to prepend packages with some “owned” name, often a domain with the tld first This has been adopted for Clojure namespaces by some

practicalli_john14:10:46

@U3G3MBL9H If you look at clojure libraries and on http://clojars.org you will see that its typically project.module or company.project.module. No need to use com or other qualifier and I havent seen anyone outside big corporates do this. We had a requirement at work (big corporate) to use com.company-name.project.module however they were only used internally.

joelsanchez22:09:48

I think you'll find library.core + library.module is pretty common

martinklepsch22:09:36

Also project.subsystem.api is a thing that you see in projects, eg the ClojureScript compiler