Ekinoderm
 

Posts tagged refactoring

Predict the Future For Me

My horoscope for today says:
Use today’s influences to free up tomorrow. This will be an excellent day for tying up any loose ends or clearing up any outstanding chores or duties, whether you’re at work or school, or at home. A helpful surge of energy will get you motivated early on and will keep you [...]

Magical Thinking, Magical Code

Natives who beat drums to drive off evil spirits are objects of scorn to smart Americans who blow horns to break up traffic jams. — Mary Ellen Kelly

Wikipedia briefly defines “magical thinking” as “nonscientific causal reasoning,” and it can be broadly applied to all kinds of superstitious behavior.  We all know someone who believes [...]

Don’t Take Me Too Seriously

Sarcasm is a powerful tool that any good developer should know how to wield effectively.  I just spent the last hour or so watching a rather amusing presentation by Cal Henderson at DjangoCon08:

While I found the talk to actually be both informative and entertaining, what I mainly noted was the pure sarcasm dripping from the [...]

Refactoring and the Bishonen Line

If sci-fi and fantasy has taught us anything, it’s that we should never judge anything by its size.  In fact, there’s even a geeky principle called The Bishonen Line which is:
…the tendency of monster creatures (especially evil ones) to become big and disfigured as they increase their power, then suddenly shrink back down to human [...]

The Money Class

Something which is conspicuously missing from the .Net Framework is a Money class for runtime calculations on currency amounts. Such a class’s primary purpose would be to eliminate the round-off errors that you see when using float or double for money amounts, as well as providing runtime checks against adding or subtracting two money [...]