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
-
kamen69992yFresh example... I had to do an else if branch, similar to an already existing one. At the end I had to return a response. Passed in body, even though I had not declared it locally, and yet it didn't light up as an error. Turns out it was auto importing something named body from who knows where, which was totally not what I was trying to do.
TL;DR: It's not always apparent. -
kamen69992y@ostream I'd normally agree with you. I must've hit the completion thinking that it would insert the variable. If it wasn't for the name collision, this wouldn't have happened.
-
Meanwhile, someone that uses a sane, compiled programming language:
"Oh, I misspelled that variable. Thanks for letting me know, compiler!"
I hope that triggers some JS devs 😆
ahhhhh.. nevermind
joke/meme