Best tip for GoLang programmers learning TypeScript
Ayrton Fidelis
Posted on March 25, 2021
I've been playing with GoLang recently, pretty cool language actually, but comming from a TypeScript world it was quite weird to me to use the nil
keyword instead of null
. I figured out that it could also be weird for Go devs learning TS, so here goes a little something to make the transition smoother:
const nil = null;
With that in place, Go devs are now able to use the familiar keyword instead of the longer alternative.
💖 💪 🙅 🚩
Ayrton Fidelis
Posted on March 25, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.