This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add plugins and templates question.

  • Loading branch information...
technomancy committed Mar 29, 2013
1 parent f045415 commit 8bcd895daffee715b51756879175cdd48453c100
@@ -1 +1 @@
-Startup time has always been the number one complaint about Leiningen, and the results reflect that. There are <a href="https://github.com/technomancy/leiningen/wiki/Faster">a number of tricks which can speed up boot</a>, but most of them remain fairly experimental. Hopefully we see some progress on those fronts in the upcoming months. I'm glad to see that people unsatisfied with Leiningen's end-user documentation remain a small minority (11%) though unfortunately they neglected to be specific about what it was they found lacking in the comments. For the lack of attention that's gone into native dependencies, it's not a major pain point for many either, though when it is a problem I suspect it's a big one. Only 10% report having a hard time finding dependencies, which has been a problem in the past. Documentation on plugins is weaker; this is a place where people are forced to fall back to IRC. Plugin coverage seems really strong.
+Startup time has always been the number one complaint about Leiningen, and the results reflect that. There are <a href="https://github.com/technomancy/leiningen/wiki/Faster">a number of tricks which can speed up boot</a>, but most of them remain fairly experimental. Hopefully we see some progress on those fronts in the upcoming months. I'm glad to see that people unsatisfied with Leiningen's end-user documentation remain a small minority (11%) though unfortunately they neglected to be specific about what it was they found lacking in the comments. For the lack of attention that's gone into native dependencies, it's not a major pain point for many either, though when it is a problem I suspect it's a big one. Only 10% report having a hard time finding dependencies, which has been a problem in the past. Documentation on internals and writing plugins is weaker; this is a place where people are forced to fall back to IRC. Plugin coverage seems really strong.
@@ -0,0 +1,25 @@
+<h4 class="question">Favourite plugins?</h4>
+
+<ol style="float: right; margin-right: 20em;">
+ <li>ring (61)</li>
+ <li>cljsbuild (49)</li>
+ <li>midje (31)</li>
+ <li>kibit (28)</li>
+ <li>pedantic (23)</li>
+ <li>marginalia (23)</li>
+ <li>outdated (18)</li>
+ <li>pprint (12)</li>
+ <li>immutant (12)</li>
+ <li>ritz (11)</li>
+ <li>swank (11)</li>
+ <li>clojars (10)</li>
+</ol>
+
+<p>I've omitted plugins with results in the single digits, so these
+ are the big rollers. The dominance of <code>lein-ring</code>
+ and <code>cljsbuild</code> come as no surprise given the results
+ above. It's great to see <code>lein-pedantic</code> scoring so high
+ since it's quite the newcomer. <code>ritz</code> is a rising star
+ addressing the long-standing complaints around
+ debuggers. <code>swank-clojure</code> holds on despite active
+ development having stopped, which is fine; it still works as-is.</p>
@@ -0,0 +1,6 @@
+<h4 class="question">Favourite templates?</h4>
+
+<p>Only six templates got multiple votes: the default template tied
+ with compojure (9), app (6), luminus (3), speclj (2) and heroku
+ (2). Seems like template needs are fairly diverse and possibly
+ aren't particularly memorable when it comes to survey responses.</p>
@@ -66,10 +66,24 @@
freqs choice results)]]))]
(commentary q)]))
+;; (->> (mapcat #(.split % "[, ]+") p)
+;; (map #(string/replace % "lein-" ""))
+;; (map (memfn toLowerCase))
+;; (frequencies)
+;; (reduce (fn [acc [f n]] (if (> n 1) (assoc acc f n) acc)) {})
+;; (sort-by val)
+;; (reverse)
+;; (rest)
+;; (pprint))
+
(defmethod summarize-question :textarea [results [q _ choices]]
- (if (= q "Other comments?")
- [:div.answer
- (slurp (io/resource "commentary/2013/other.html"))]))
+ [:div.answer (slurp (io/resource (case q
+ "Other comments?"
+ "commentary/2013/other.html"
+ "Favourite plugins? (comma-separated)"
+ "commentary/2013/plugins.html"
+ "Favourite templates? (comma-separated)"
+ "commentary/2013/templates.html")))])
(defmethod summarize-question :rank [results [q _ choices]]
(let [freqs #(sort-by (comp first key)
@@ -90,9 +104,8 @@
(let [results (get-results)]
(into [:div.summary
[:h3 "Data and commentary on the results"]
- [:p "The survey has been open since the 22nd of February"
- " but it hasn't closed, so the quantatative summaries below"
- " will reflect new responses as they trickle in."
+ [:p "The survey ran from the 22nd of February to the 28th of March."
+
" Most questions allowed more than one answer, so percentages"
" will not add up to 100. At the time of this writing,"
" (28 March) there were just over 500 responses."]
@@ -220,4 +233,4 @@
(defn comments []
(string/join "\n----------------"
(for [{:keys [body]} (get-results)]
- (get body "Other comments?"))))
+ (get body "Other comments?"))))

0 comments on commit 8bcd895

Please sign in to comment.