Earlier quoted context omitted.
I have also been using CLJS/Clojure for a solo project. I debated between CL and Clojure for the backend, but CL’s package ecosystem is too weak to be justified. What other languages did you consider for your stack and what did you think were the tradeoffs?
This is sort of a next generation successor to a personal project written years ago in Perl (evolving from a form fit tool to something much more general and flexible). I originally was going to do it in Ruby but after learning Clojure and doing a bunch of book exercises (toy coding tasks) I thought Clojure would be a better fit. (When I learned Python I considered that but it did not seem any better of a fit than Ru…
Clojure Turns 15 panel discussion video
211–220 of 226 posts
Re: Clojure Turns 15 panel discussion video
#212Earlier quoted context omitted.
> deps.edn Deps is well documented. The issue I personally found is that I needed to look at a bunch of OS project's deps.edn to see how people commonly structure things. Other than that it is a simple tool. > socket repl over nrepl I personally use Calva (VSCode) which just starts an nrepl based on deps.edn. When writing babashka scripts I start the repl manually and connect to it. Very pleasant experience so far. >…
> Deps is well documented. > The issue I personally found is that I needed to look at a bunch of OS project's deps.edn to see how people commonly structure things. Other than that it is a simple tool. This seems like a contradiction, because if it was well documented you wouldn’t need to look at other people’s configs to see how to use it. My experience with deps.edn is that every time I start a project and make a de…
In particular cloning their clojure-deps-edn [2] as my ~/.clojure folder gives me ready made aliases for different kinds of repls, tools like reveal etc.
This, plus polylith [3] architecture has finally allowed me to start working in clojure and not get lost in configuration confusion.
[1] https://practical.li/clojure/clojure-cli/projects/add-librar...
Re: Clojure Turns 15 panel discussion video
#213Earlier quoted context omitted.
"Superb" is not the word for deps.edn documentation. It is certainly documented but the gap between most Clojure documentation and the deps.edn documentation page is big. I suspect Rich wrote most of it but left the deps.edn page to someone else.The deps pages have a knack for includng pages of waffle that doesn't help to solve the current problem. If a newbie is trying to debug {:deps {ring/ring-devel {:mvn/version…
These are useful comments and issues are welcome at https://github.com/clojure/clojure-site/issues
Sorry, I had a bad time learning deps and the frustration still haunts me.
Re: Clojure Turns 15 panel discussion video
#214Earlier quoted context omitted.
"Superb" is not the word for deps.edn documentation. It is certainly documented but the gap between most Clojure documentation and the deps.edn documentation page is big. I suspect Rich wrote most of it but left the deps.edn page to someone else.The deps pages have a knack for includng pages of waffle that doesn't help to solve the current problem. If a newbie is trying to debug {:deps {ring/ring-devel {:mvn/version…
Out of curiosity - what is the correct form in this case? Ed: I'm guessing a key => list of deps, maybe?
{:deps
{ring/ring-devel {:mvn/version "1.9.6"}
ring/ring-core {:mvn/version "1.9.6"}}}
There was one too many map.Re: Clojure Turns 15 panel discussion video
#215Earlier quoted context omitted.
All the things you are mentioning would be nice to haves but frankly nothing prevents us to use these today already, either directly or via a bit of wrapping. Communication "style" and slow pace is frustrating sometimes but that's a small price to pay for all the positive facets of the language/community. I used to be more critical of these but I don't care anymore, the community is wonderful, the language is very us…
Which of the datalog alternatives do you think is closest? And how much of an improvement do you think a datalog db is over boring Postgres or SQLite? I’ve been weighing what db to adopt.
The "closest" to datomic is datahike right now. Crux/datahike/datascript/asami all use datalog in some way or another but they cover different use cases.
Re: Clojure Turns 15 panel discussion video
#216Earlier quoted context omitted.
Which of the datalog alternatives do you think is closest? And how much of an improvement do you think a datalog db is over boring Postgres or SQLite? I’ve been weighing what db to adopt.
datalog is just the query language. For me there's no such thing as a datalog db, there are various db that uses some derivative of datalog for querying but that's it. To give you an idea, datomic has other ways to query your data than with datalog alone. The "closest" to datomic is datahike right now. Crux/datahike/datascript/asami all use datalog in some way or another but they cover different use cases.
Re: Clojure Turns 15 panel discussion video
#217I love Clojure (and have touted such in past comments), but it suffers from a glaring problem: every library is half done and/or abandoned. What happens is you end up modifying an existing library to fit your particular problem space. I needed a web framework. None of them just did things in a "simple way". I ended up branching an existing one and have altered it (very heavily) to fit what I need. It's now my go-to f…
Every early ecosystem suffers from lack of mature libraries. It is a chicken and egg problem. I think your contribution would be very welcome, especially with a bit of docs or minimal examples.
Re: Clojure Turns 15 panel discussion video
#218Earlier quoted context omitted.
I thought about doing some work on Clojure itself, but, alas, my last name isn't Miller. :-( jk
The Clojure development process is notoriously closed to outsiders. Even in the early years, some people contributed time and code, and weren’t thanked. I would view attempts to contribute as very high risk for newcomers. I personally maintained a fork for a couple years just for an unmerged patch I needed, rather than try to get the core team to merge it.
Re: Clojure Turns 15 panel discussion video
#219I tried Clojure, but when i look for a good ORM, what i see is a paid library.
Re: Clojure Turns 15 panel discussion video
#220Earlier quoted context omitted.
spec is mostly useless for tools and IDE's and static analysis. Spec necessitates running your program with an arbitrary runtime complexity. Type checking is done before your program runs. The idea is to remove the need for runtime checks as much as possible.
But clojure is not meant to be developed statically! It is supposed to be running while developing it. You don't need static analysis if the programm is running and inspectable.