Last week I conducted yet another code review. While looking at the code I’ve noticed a lot of lines similar to If(x != null) and if(y < 0) all over the code. These lines were not “business related” but were put in the code to make sure that proper inputs were given to the methods. … Continue reading Don’t fix invisible bugs
Author: Dror Helper
3 signs that you’ve been coding too much
Could there be such thing as too much coding? From time to time I get reminded that there is more to the world than Visual Studio and highlighted text. Below are real stories that happened to me (sometimes more than once), causing me to ask myself – should I take a break? Run in debug … Continue reading 3 signs that you’ve been coding too much
Testing right by testing the right thing
Before answering questions about unit testing I usually tend to ask some questions to get the broader picture – especially if the question sound strange. Such question was asked by a teammate – he wanted to know if he can replace the behavior of a fake object while still calling the method replaced. This sounded … Continue reading Testing right by testing the right thing
DSL presentation at the local Software Craftsmanship group
A couple of days ago I gave a talk at the local Software Craftsmanship group on the subject of Domain Specific Languages (DSL) and fluent interfaces. After the session I prepared an exercise for the audience:Create a fluent interface for an online shop that calculates discounts based on customer and purchase information. I gave a … Continue reading DSL presentation at the local Software Craftsmanship group
Advice for the newbie developer
Every developer was a newbie once. It doesn’t matter if you’re fresh out of college or been developing software for 10 in this line of work you get to be the newbie from time to time – whenever you learn a new technology or programming language and to some extent whenever you start working in … Continue reading Advice for the newbie developer
How I Learned to Stop Worrying and Love the Coding Convensions
Can you spot the difference between the following two code snippets?Exhibit #1:public class MyClass{ public int MyFunc(int x, int y) { return x + y; }}Exhibit #2:public class MyClass{ public int MyFunc(int x, int y){ return x + y; }}If you have some programming experience you might recognize the two styles. One of which common … Continue reading How I Learned to Stop Worrying and Love the Coding Convensions
Spot the bug – misbehaving server
We had a strange issue at work – we had a misbehaving server, who worked perfectly well with one client but had strange issues when several clients connected to it. The server would broadcast a message to all of its clients but only one client would receive that specific message, re-sending the message would fix … Continue reading Spot the bug – misbehaving server
Multiple asserts – done right
If you’ve been writing unit tests for some time or seen a good presentation on how to write unit tests you probably heard the “One assert per test” rule. There are real benefits in having only one assert in each tests – you get a focused tests, it’s easier to understand what caused the test … Continue reading Multiple asserts – done right
Kanban workshop for leader/managers–Part II
a week ago (give or take a day) I attended a Kanban workshop by Agile consultant company, AgileSparks– the following is my impressions from that day along with my thoughts on the subject: In the 2nd part of the day we continued the workshop at full speed – the next few hours were devoted to … Continue reading Kanban workshop for leader/managers–Part II
Kanban workshop for Leaders/Managers
Yesterday I had the opportunity to participate in a one day Kanban workshop by AgileSparks. The workshop was intended for leaders and managers and so one morning I found myself sitting in a conference room with project managers, team leaders and one VP. Although it meant that not everything I learned was directly related to … Continue reading Kanban workshop for Leaders/Managers


