cljs-devtools
clj-kondo
cljs-devtools | clj-kondo | |
---|---|---|
2 | 19 | |
1,100 | 1,665 | |
0.0% | 0.4% | |
2.4 | 9.1 | |
about 1 year ago | 7 days ago | |
Clojure | Clojure | |
GNU General Public License v3.0 or later | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cljs-devtools
-
DevTools Tips
> The very first tip I see is "Customize the way objects look" which is ok... cool you can do that, is this where it should start?
I mean, why not? It's not all for fun and giggles, it's actually a very useful feature, I use it a lot when working with data structures I've created myself (which are ultimately usually Objects in the JS world, but custom algorithms for get/set/sort and so on) and I want to render them differently in the console.
Another real-life example of it's usefulness is https://github.com/binaryage/cljs-devtools which formats Clojure/Script data structures into a more useful format when printing them to the console. It literally uses that feature: https://github.com/search?q=repo%3Abinaryage%2Fcljs-devtools...
- Clojurescript stack traces
clj-kondo
-
Advent of Code Day 4
My best suggestion here would be clj-kondo with flycheck-clj-kondo in Emacs. I really can't recommend it enough and would have killed to have it when I was learning Clojure. Not only will it underline all of those references to (now) undefined vars, but it can tell you about numerous little mistakes like mixing up arguments orders in (say) sequence functions, misplaced docstrings that get discarded, style conventions, etc. It's staggering how good it is even for a language as dynamic as Clojure.
- Strong typing, a hill I'm willing to die on
- Clj-kondo: a static analyzer and linter for Clojure
-
What does bad code in Clojure look like?
The clj-kondo linters are worth reading.
-
The YAML Document from Hell
Sure!
Spec: https://github.com/edn-format/edn
Example (linter config): https://github.com/clj-kondo/clj-kondo/blob/634294183a0aa2ca...
-
The Joy of Static Analysis: automated Clojure code refactoring
Clj-kondo doesn't produce an AST but you could easily combine the analysis output with the AST produced by rewrite-clj by matching on location.
-
Can you use Clojure for mobile, backend, frontend, scripts, desktop, and embedded development?
But if you want full support, you can implement a hook: https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md
-
Wrote one of my first clojure programs (tic-tac-toe). Any constructive criticism would be greatly appreciated.
Please configure and use tools like clj-kondo and kibit. Kibit will report areas where you could write idiomatic clojure instead. Eg, it should catch all those (if (condition) true false) and ask you to replace it with (condition). Or if you really need a boolean value, use boolean to coerce it.
- Want to get into closure, but struck at practice
-
Are these problems something that Just Make Sense once I learn more, or what?
Try clj-kondo, a Clojure linter which will tell you about arity errors and more, before you even evaluate your code.
What are some alternatives?
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
schema - Clojure(Script) library for declarative data description and validation
portal - A clojure tool to navigate through your data.
immer - Postmodern immutable and persistent data structures for C++ — value semantics at scale
re-frame - A ClojureScript framework for building user interfaces, leveraging React
truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.
devtools-tips - A collection of useful cross-browser DevTools tips
core.typed - An optional type system for Clojure
vivaldi-clear-engagement.sh - Bash script to clear engagement data in Vivaldi profiles
web-development-with-clojure - Repository for the examples from the book Web Development with Clojure, 2nd edition
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Quarkus - Quarkus: Supersonic Subatomic Java.