28
nnmrts
7y

Just debugged an angularjs app for 2 hours to find out that I spelled "response" "reponse" as an http get request success callback function argument. I hate my life.

Comments
  • 3
    Has happened to me before. Multiple times! Feels like killing oneself after realizing.
  • 0
    @kaqqao i feel like killing angularjs because it's super bad at error reporting

    when you make this mistake with ajax in JS or with $.get in jQuery you recognize it instantly

    when using angularjs your code just doesn't work and you have no idea what's going on without console logging the exact promise created with http.get

    great that i use loops in this app and reset the promise object after every iteration... :D
  • 0
    Thank you, IDE's!
  • 2
    I've typed adress instead of address. This makes me wonder, why do IDEs not have some kind of spelling correction.
  • 1
    reponded well
Add Comment