DEV Community

Raji Ayinla
Raji Ayinla

Posted on

What Bugs Have This New Year Brought?

image

What's been the toughest problem you've had to debug so far this year? The problem doesn't have to even be a technical problem. It can be a "people" problem.

Top comments (2)

Collapse
 
alchermd profile image
John Alcher

I've had tons of failing tests on one of my projects at the start of the year. The root of the problem was some hardcoded dates (that ends in 2018) for some "end of the year" edge cases. Not really tough and/or interesting, but a good reminder to brush up on date/datetime handling (I really recommend Carbon for PHP projects). But still, it's literally a problem brought by the new year lol.

Collapse
 
realrayinla profile image
Raji Ayinla

Haha. That's the problem with hard coding. It will always end up biting you in the butt when you least expect it.