Phatso
A while back I wrote a tiny little micro framework for a contract. It's been sitting around on my hard drive for awhile, so I figured I should throw it up here in case anybody ever has need for such a thing.
A while back I wrote a tiny little micro framework for a contract. It's been sitting around on my hard drive for awhile, so I figured I should throw it up here in case anybody ever has need for such a thing.
There's a time and a place for switch blocks in programming. Normally you switch on a variable, then provide a number of case blocks that provide a (hopefully succinct) chunk of code to be executed if the switch variable matches the case value.
For a long time, I've been wanting to redesign the data models in Pronto. They serve their purpose fairly well, but I've always found myself writing small methods in the model classes that don't really need to be written. They were simply enough that it was a waste of time to even have to write them.