Have You Seen This Cache?
Code: C, cache, memcached, Python, referential transparency, Ruby
Comments Off on Have You Seen This Cache?
It looks like syntax highlighting, image thumbnails, and compiling object files.
Let me explain.
Code: command/query separation, email, ListLibrary.net, referential transparency, threading
Comments Off on Command/Query Separation
Objects contain both state (data) and methods, and methods should be classifiable into commands that change state and queries that introspect state. The principle of Command/Query Separation (CQS) expresses a design principle I’ve intuitively used as a rule of thumb. With the conscious consideration that comes from hearing it, I knew how to improve some of my own code.