Binary Conversion Charts
patrick — Mon, 2016-10-24 14:33
I have recently been reading through Write Great Code, Volume 1 by Randall Hyde and he had 2 useful charts I've seen before, but I haven't seen them in a long while so I figured I'd drop there here for my future reference.
Binary | Hexadecimal |
---|---|
%0000 | $0 |
%0001 | $1 |
%0010 | $2 |
%0011 | $3 |
PMD - Finding copied and pasted code
patrick — Wed, 2010-10-13 10:08
A great way to find duplicate code. Has built in handlers for Java, JSP, C, C++, Fortran and PHP and has instructions on how to add a handler for your favorite language if it's not included.
Terry Chay
patrick — Thu, 2010-09-09 09:26
The Woodwork
You tell that other boy, not to touch the woodwork…
ORM is only a subset of the Model in MVC
patrick — Fri, 2010-08-20 00:58
I've been trying to put my finger on why I think a particular set of classes a previous programmer wrote to interact with a payment gateway annoys the hell out of me. At first I just felt overwhelmed by the number of classes and their interactions. I then listed out the classes and used a simple diagram to show basic interaction. Class A has a process that uses data from Class B, runs it through Class C, dumps the results into Class D, & somewhere along the line Class E gets used as well.