[ Content | View menu ]

Monthly Archive April, 2008

Fail Hard and Fast

Mark April 17, 2008

Within the code-base, as already mentioned, defensive programming can cause defects to become entrenched. Instead, we should adopt a more confident style, where code fails hard and fast.
- Stop the clock, squash the bug
I heartily agree with that statement.  I think it can be reworded in this way:
Fail, then fix the failure, not the [...]

Software Engineering - 0 Comments


The Only Business Model: Individual Value

Mark April 16, 2008

I came across this article today: The Young Man’s Business Model.
It stuck me as being needed advice that most people can use, me included.  It highlights several points:

When you’re young, you brute force everything.  Literally, everything, until you finally get some experience and learn that there are other ways.

In business, brute force generally isn’t the [...]

General - 0 Comments


PHP Insanity VII

Mark April 14, 2008

I discovered an interesting bit of insanity in PHP while at work the other day.
Define a function in PHP and make sure it has at least one argument, but that argument should not have a default.
So the function should be something like:
public function foo( $bar )
Not:
public function foo( $bar=fubar )
Now call your function, but leave [...]

Languages - 0 Comments


Measuring Individual Productivity

Mark April 10, 2008

I wish I had more to add to Steve McConnell’s post Measuring Productivity of Individual Programmers, but I don’t.
The short summary: don’t measure productivity of individual programmers.  Just don’t.  It’s a bad idea that returns you nothing.
He says a follow up post on measuring the productivity of teams is coming (which is something he does [...]

General, Management - 3 Comments


West Coast Bias

Mark April 9, 2008

I admit, that like many bloggers, I am stat obsessed.  I like to think I matter in the technology sector, even just a tiny bit, even though, at least at the moment, I really don’t.  Still, I hope you’re getting some value out of my blog.  You must be, or you wouldn’t be reading it.
One [...]

General - 0 Comments