markdown guide
 

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.

 

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

Classic DEV Post from Sep 27 '18

Some tips to improve yourΒ life

For some time now I've been looking for and researching ways to improve my life...

Raji Ayinla profile image
Coder and writer. Founder of www.howtocodejs.com