I was recently playing Twilio Quest over on my Twitch channel. Twilio Quest is a coding game where you can learn to program Python, JavaScript, PHP...
For further actions, you may consider blocking this person and/or reporting abuse
Yesterday, I using AngularJS to make put requests. Because I forgot the second paramet of the http request, which is for request parameter and I didn't have any, my request would fail with a really weird and long link. Forgetting to put an empty array
{}
what interpreted by js like I was passing my whole function anonymous functioin as a parameter. Took me 15 minutes to debug.I'm also notorious for typos that create bugs that block me for some time.
Yeah I feel you. This definitely makes me feel like a developer when I come across these things. But it's a good feeling when you finally figure it out!!!
This VSCode extension will help with spelling mistakes: marketplace.visualstudio.com/items...
it works with camelCase too! Not sure if there's something similar for atom
Yes I love this extension! Unfortunately this was being coded in the program itself so I couldn't add any extra extensions. The extensions in VS Code are legit awesome.
Your code is wrong. You deserve it.
Hahahah, totally! I was just so confused that no one else could figure it out either. But hey, it's all a learning curve right? I am loving it though!!!
If you show your code, I'll show you how to improve it.
I had about 30 developers looking at it live. You can see it in the video link (a link to the full live stream), and you can see a link to my GitHub repo (linked in the article).
Sorry, unfortunately I don't see a link to your GitHub.
You used the method toLowerCase() six times, you need it two times only. It doesn't occur to the developer that there can be a typo in one of the six calls, everyone would see it in the two calls.
Linking here again: github.com/MishManners/Twilio-Ques...
We just did what the course told us to do. And yes, there were 30 different people arguing over how to best do it. This is what I love about live coding!
Thanks for this. Will check it out
Yikes - only double equals comparisons in JavaScript and this really strange code style...spelling is the least of your worries
Hahaha, 100%!
Hi Mish, I relate with your story on developer setbacks. I was coding a Project on C++ and ' : ' instead of ' ; ' messed me up lol.
I figured it out hooooooouuuuurs later.
Thanks for sharing .