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 Jan 29

CSS and JS Are at War, Here’s How to Stop It

There are a lot of people who love both JS and UX/CSS. If we stop labeling people just as “JS developers” or “UX developers”, we can achieve a ceasefire in the current “JS vs. CSS” war and achieve a mutually benefiting peace.

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

Come for the ideas.
Stay for the community.