News for hackers. Stuff that matters.
Re:The Clean Coder: The Craftsman 62, The Dark Path. by wrs on Monday October 04, 2010 @04:07AM (#1754981)
"Hi Alphonse. What's up?" The gruff voice of Bob, Jerry's manager (or "master", as he called him), came from behind them. "Oh, I see Jerry is showing you how to generate unnecessary String garbage and stack overflow exceptions. Wow, and in a simple word wrap function, too. Nice job, Jerry."

Alphonse was confused. "Bob, how do you know that? We didn't write tests for those things. I don't even know if you can write tests for them."

Bob looked at Alphonse with a sad expression. "Jerry, could I see you in my office--sorry, my 'dojo'--for a minute?"

Re:The Clean Coder: The Craftsman 62, The Dark Path. by kleiba on Monday October 04, 2010 @07:52AM (#1755355)
Also, too bad Alphonse didn't include a test such as:

    @Test
    public void stringContainsNewline() throws Exception {
      assertThat(wrap("ab\ncd e", 4), equalTo("ab\ncd e"));
    }
Re:The Clean Coder: The Craftsman 62, The Dark Path. by gaius on Monday October 04, 2010 @06:54AM (#1755258)
I'd have a great deal of difficulty in taking anyone seriously who called their office their "dojo". Or liked their direct reports to call them "master".
Re:The Clean Coder: The Craftsman 62, The Dark Path. by wrs on Monday October 04, 2010 @09:44AM (#1755602)
Jerry is the one making up all this martial arts nonsense...Bob is just humoring him.
Re:The Clean Coder: The Craftsman 62, The Dark Path. by adn37 on Monday October 04, 2010 @08:31AM (#1755430)
I have no problem calling Sensei a particular great coder/architect. I even used to do it for the fun of it. But when it comes down to management asymmetric relationships, I do my best to avoid biasing it more ("master").

Could be a great way to practice office theater, though.

Re:The Clean Coder: The Craftsman 62, The Dark Path. by gaius on Monday October 04, 2010 @08:38AM (#1755445)
It's not healthy to consider oneself subordinate to ones manager. You're peers with different roles, that's all. He's more about the what, you're more about the how.