Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kunashe19687ydo go a bit easy on javascript.
true is not in any way the same as "true" - its only in our minds that we conflate the two. -
orto11557yDoes anyone know of statically typed layer that compiles down to js? BTW, I know it defeats the point. It would still be amazing to have 🤔.
-
Rocket3G2007y@orto that'd be the aforementioned Typescript. Facebook's Flow also has some neat functionalities though. :)
-
I once spent 4 hours to find a typo was making a new variable instead of assigning to the one I wanted.
Related Rants
After hours of debugging my js script, I finally found out that all my trouble came from a variable that contained the string “true“ instead of a boolean value. I kinda hate javascript now...
undefined
javascript
facepalm
debugging