サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
puredanger.github.io
Patterns and dependency injection – I’m partying like it’s 2006! Say you have some Clojure functions that look like this: (defn foo [config queue db-conn arg1] ...use config, queue, db-conn... ) (defn bar [config queue db-conn arg1 arg2] ...use config, queue, db-conn... ) Bindings Seeing all those config options and system resources on every function just looks gross right? There is a temptation t
Occasionally I hear someone say that the Clojure community is against testing. I understand the sources of this – Rich Hickey (creator of Clojure) has spoken about testing in a number of talks and I think some of those comments have been misconstrued based on pithy tweet versions of more interesting longer thoughts. I’d like to give my own opinions on testing, what I think Rich has said, and what
There was a request on a HN comment for more info about “real world Clojure” so I turned what started as a comment and got long into a post about our experiences at Revelytix… We started using Clojure at the beginning of 2010 building a new set of enterprise data integration and analytics products at Revelytix. Initially we had 5 developers and we are currently up to 10. We have 9 people doing Clo
This entry inaugurates a new series on patterns that I hate. Hate is a strong word, perhaps a better name would be “patterns that I’ve frequently seen lead to ruin”. But that seemed too long. Anyhow, the singleton pattern is the hands-down #1 pattern that can lead me to froth at the mouth. When a programmer first stumbles on GoF, Singleton seems to be the pattern that they first latch on to becaus
In the first episode of this series I explored the Singleton pattern and why it sucks. In this episode, I take aim at the Template Method pattern. To refresh your memory, the Template Method pattern is when you encapsulate the outline of an algorithm or lifecycle in an abstract class, but define certain specific steps as abstract methods. This class then forms a “template” that others can subclass
このページを最初にブックマークしてみませんか?
『puredanger.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く