clj-kondo VS schema

Compare clj-kondo vs schema and see what are their differences.

clj-kondo

Static analyzer and linter for Clojure code that sparks joy (by clj-kondo)

schema

Clojure(Script) library for declarative data description and validation (by plumatic)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
clj-kondo schema
19 9
1,659 2,380
0.4% 0.0%
9.1 0.0
5 days ago about 1 year ago
Clojure Clojure
Eclipse Public License 1.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

clj-kondo

Posts with mentions or reviews of clj-kondo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-05.

schema

Posts with mentions or reviews of schema. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-25.
  • Tired by the dynamicism
    7 projects | /r/Clojure | 25 Jan 2023
    Plumatic schema (https://github.com/plumatic/schema) , or friends I might be wrong, but I think schema might make more sense to you coming from the F# world (might be wrong)
  • Clojure from a Schemer's perspective
    3 projects | /r/Clojure | 1 Nov 2022
    This one? I didn't. I hear good things about it, and it's reached a point of maturity, being widely used in production.
  • Worrying comment from HN on Building a Startup on Clojure
    3 projects | /r/Clojure | 4 Oct 2022
    Uhhh spec has existed for a long time and before that, schema Nowadays we also have the excellent malli. If his codebase is full of functions where the shape of the data isn’t obvious, isn’t documented and isn’t specified in a specific/schema, that’s on him and his bad coding practices and really no different from passing data in other dynamic languages. A class by itself (without additional effort) only gives you field names.
  • Building a Startup on Clojure
    11 projects | news.ycombinator.com | 4 Oct 2022
    I don't understand this reputation either. There are very large systems built on other Lisps. For example, Emacs has a massive amount of Elisp. Elisp is much more primitive than Clojure, and traditionally libraries don't use e.g. data schemas [1] as runtime contracts for data.

    Obviously, once a system built on top of a dynamic language grows beyond certain threshold, you need to be very disciplined as there are no static types to ensure some degree of correctness.

    [1] https://github.com/plumatic/schema

  • Clojure needs a Rails, but not for the reason you think
    24 projects | news.ycombinator.com | 30 Jul 2022
  • General anxiety regarding learning Clojure and such
    4 projects | /r/Clojure | 22 Oct 2021
    Try to learn a schema library early, like Malli or Prismatic Schema. Do not mistook them as "static-typing" things - it's more for data validation and coercion than "security that things will get the right typing information". The idea to learn them early is how you'll shape future code: validating all "output data" first, them using that data inside your program without "defensive programming" like checking every time if a specific value on a map is nil, etc
  • Six years of professional Clojure development
    9 projects | news.ycombinator.com | 6 May 2021
  • What are some great Clojure libraries, as of 2021?
    12 projects | /r/Clojure | 30 Mar 2021
    In Clojure, declarative data specifications for validation and generation are also very mainstream. Schema was first out the door, Clojure Spec is the most popular library, while malli is gaining popularity fast at the moment.

What are some alternatives?

When comparing clj-kondo and schema you can also consider the following projects:

immer - Postmodern immutable and persistent data structures for C++ — value semantics at scale

malli - High-performance data-driven data specification library for Clojure/Script.

truffleruby - A high performance implementation of the Ruby programming language, built on GraalVM.

specter - Clojure(Script)'s missing piece

core.typed - An optional type system for Clojure

matcher-combinators - Library for creating matcher combinator to compare nested data structures

web-development-with-clojure - Repository for the examples from the book Web Development with Clojure, 2nd edition

clojure-dsl-resources - A curated list of Clojure resources for dealing with domain-specific languages.

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

fulcro - A library for development of single-page full-stack web applications in clj/cljs

Quarkus - Quarkus: Supersonic Subatomic Java.

coalton - Coalton is an efficient, statically typed functional programming language that supercharges Common Lisp.