April 2011

Improving Programming Productivity

April 30, 2011

Paul Homer has a post listing several ways in which you can waste your time while programming. Much of the waste comes from lack of thought about how to write code, primarily because people jump directly from specs into coding without thinking about how they can structure their code well. I sometimes read articles about […]

Read the full article →

Bottom-Up Design

April 29, 2011

The strangest thing I have read in the recent past (emphasis mine): In his classic “Clean Code” Robert C. Martin describes a great (and widely adopted) way to object oriented programming. He says code should read from top to bottom like prose. Start with the most high-level concepts and break them down into lower-level pieces. […]

Read the full article →

Mac Owners are Richer

April 26, 2011

The Hunch blog has an interesting piece on the cultural differences between a Mac person and a PC person. Samples: 54% of PC people have completed a four-year college degree or higher. The same can be said for 67% of Mac people. PC people most prefer McDonald’s fries (34%) followed by steak fries (22%). Mac […]

Read the full article →

Do Companies have Freedom of Data?

April 23, 2011

A little shocking to see the corporate skeptic Scott Adams write this unrealistic view of corporations just to make a point about China (or maybe this is all tongue-in-cheek): In a corporation, you’re generally free to disagree with higher ups if you do it with data, and in a professional manner. Usually you need to go through […]

Read the full article →

Necessary and Sufficient

April 22, 2011

A useful nonsense detector method for assessing the quality of someone’s argument is to use the “Necessary and Sufficient” Test. Let us say someone makes an assertion, “If X is done, then Y will happen”. There are two questions to ask here: Is it Necessary?: “If X is *not* done, will Y *not* happen?” (i.e., is […]

Read the full article →

Commented Out Code

April 21, 2011

This post at Visual Studio Magazine by Peter Vogel has invited a lot of contempt (via Rob Conery): I never delete code — you never know when you might want it back. So I spend a lot of time commenting out code. I do this so often, and mousing up to the menu takes so […]

Read the full article →

JavaScript is More Complex and Important than You Realize

April 19, 2011

Kudos to Michael Woloszynowicz for pointing out that the JavaScript experience on the resumes of most people is worthless. If you tried to interview most people on JavaScript beyond the basic stuff, it would be a one-sided monologue. To be fair, these developers are much better at the language they consider their primary one and JavaScript […]

Read the full article →

Refactoring is Not About Reducing Code

April 18, 2011

The first introduction to refactoring for many programmers comes when a senior developer on the team takes a look at what they have written, yells some expletives and starts deleting blocks of code that has probably taken them days to write. After a few such incidents, these programmers start understanding what DRY means. Unfortunately, some […]

Read the full article →