Have You Seen This Cache?
Code: , , , , ,
Comments Off on Have You Seen This Cache?

It looks like syntax highlighting, image thumbnails, and compiling object files.
Let me explain.

Continue this post

Command/Query Separation
Code: , , , ,
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.

Continue this post