Explicitly Redundant
Today, I caught myself doing this: bool f() { bool r; if( x == y ) { r = true; } else { r = false; } return r; } When I really should have written: bool f() { return x == y; } In the actual code I that I was writing, x and […]
Today, I caught myself doing this: bool f() { bool r; if( x == y ) { r = true; } else { r = false; } return r; } When I really should have written: bool f() { return x == y; } In the actual code I that I was writing, x and […]
Everyday is an opportunity to learn something new. Today, I learned how to set the tab width for vi (set tabstop=2) while trying to format the picture for this blog entry, for example. Daily learning is a form of personal refinement. Accumulated knowledge allows people to do things better. If the lesson relates to development, […]
I just finished rereading Design Patterns: Elements of Reusable Object-Oriented Software. As a little experiment, I will explore how far I can get with the book’s fundamental design patterns with Python, an object-oriented scripting language that I am trying to pick up. One of the first design patterns I came across even before reading DP […]
“You dropped a hundred and fifty grand on a fucking education you could’ve got for a dollar fifty in late charges at the public library.” –Will, Good Will Hunting My experience in college can be summed up as an ongoing lesson on learning. College was an opportunity to learn how to learn. I am employing […]
The text of RFC2119, which describes the use of these phrases in system documentation, is presented here: Network Working Group Request for Comments: 2119 BCP: 14 Category: Best Current Practice S. Bradner Harvard University March 1997 — Status of this Memo — This document specifies an Internet Best Current Practices for the Internet Community, and […]