How long is "new" new anyway
Software engineer. Interested in small and efficient tech product teams and ambitious projects that move things forward.
Search for a command to run...
Software engineer. Interested in small and efficient tech product teams and ambitious projects that move things forward.
No comments yet. Be the first to comment.
Hello to anyone that might reach this website! Just want to let you know that I've changed the place where I publish and build new things. You can find things I'm up to on apisurf.dev. Cheers!
There are two good articles that touch on some of the concerns and annoyances I also share, but I'll try to cover some of my views about it. I had a chance to use Next.js 13 for a few weeks and noticed that some things make my job a lot simpler, whil...
new Date('YYYY-MM-DD') might not do what you think it does

Recently I stumbled upon an interesting test case where I needed to cover many possibilities and make sure everything continues to work as intended in the future. I had 7 boolean flags that needed to be used to toggle an app functionality. It's a bit...

Some old methods of accessing uploaded file contents inside a Next.js route handler don't work anymore or at least not in a way many tutorials explain it. E.g. many outdated online examples use page router which has route handlers that receive differ...

Quick hint and a reminder for myself:
In programming, try not to prefix things with "new".
"New" usually doesn't stay new for very long :). It becomes especially problematic when you introduce the new stuff for the 2nd time. At that point, you have a choice of living with the OLD stuff prefixed with a "new" word and figuring out how to name the new new stuff or having to refactor a bunch of names just to avoid the confusion.
End of story. Bye, bye 🙃