141
mpower
7y

The day I named a variable "new" and stuck there for hours trying to find what's wrong.

Comments
  • 3
    Hahaha, nice.
  • 11
    I bet this also happened to the inventor of syntax highlighting.
  • 5
    New, old, class, parent..

    I know people that deliberately name keys in their json like that...

    *note: they're teachers & do it to assert who's paying attention in class :)
  • 1
    @lotd my teachers would do that too. Caught me napping a couple of times because of it. Haha
  • 0
    @lotd Although what often gets me is type. It would be so damn useful as variable name.
  • 0
    Use an IDE.
  • 3
    @yuz1 Every decent text editor has language-specific syntax highlighting as well. But sometimes this can happen regardless.
Add Comment