News for hackers. Stuff that matters.
Re:The Most Common Type of Incompetent Leader by dvt on Friday March 30, 2018 @10:54PM (#16721407)
> If this was a code review, the end of the month code in this example should get flagged for its complexity, when it can be replaced with the single conditional "if tomorrow.day == 1".

But it's not a code review. It's a frivolous and simple example to show the underlying impact of not understanding the context of a hypothetical feature request. I have a feeling that in typical engineer fashion, you're missing the forest for the trees. Trust me, I've been there :)

Re:The Most Common Type of Incompetent Leader by thwarted on Saturday March 31, 2018 @05:42PM (#16725321)
It's a frivolous and simple example to show the underlying impact of not understanding the context of a hypothetical feature request.

Yes, it is a contrived example, that's my point. But it's not the programmer that didn't understand the feature request, it's the entire organization. A questionable decision earlier made by the Account Manager led to an overly complex, questionable implementation that will lead to more code and more bugs. Trust me, I've been there.

Re:The Most Common Type of Incompetent Leader by someguydave on Saturday March 31, 2018 @12:16AM (#16721694)
How does the computer know that today is the first day of the month without already having a complete calender implentation?