Clojure: kibit, a static code analyzer

2012-06-15, 09:20 | Kibit, Clojure, Kod, Mjukvara,

Kibit[1] is a simple code analysis tool (and leiningen plugin) which
someone hopefully will find interesting or useful. The purpose of the
tool is to tell its users that “Hey, There’s already a function for
that!”.

Kibit uses the core.logic[2] unifier to search for patterns of code
for which there might exist simpler functions. For example, if the
analyzer finds

    (apply concat (apply map …)

It will notify its user about the availability of `mapcat`.

Jonas

[1] https://github.com/jonase/kibit
[2] https://github.com/clojure/core.logic

Det var meetup igår för Got.clj. Temat var nätverk och sockets med Aleph. Roligt och inspirerande. Lärde mig mycket nytt som jag skall applicera på mitt l-system, hittade även kibit som skall prövas snarast.


  1. liamgoodacre reblogged this from forvillelser
  2. forvillelser posted this