Not a fight per se, but I once had a debate with a tech lead who thought you could set a variable in the ‘then’ clause of a Javascript promise and just use said variable after the promise declaration and assume it would be populated.
“no.... thats not how asynchronous code works.”

  • 0
    "All variables are global"
    -What? This isn't fucking Netscape, fuckturd"
Your Job Suck?
Get a Better Job
Add Comment