19
abkcode
5y

While debugging I hate unused variables.

Comments
  • 2
    Use a good IDE to remove unused variables :)
  • 0
    @alipiry Already using sublimelinter-php but phpmd doesn't work when extract function is used. There are cases where variable is declared and then value is set but never used.
  • 2
    Why would you ever have unused vars?
  • 1
    @Root Because there are developers who likes to put variables and not use them. They don't like to indent the code and comment just the function name.
  • 0
    Must... not... mention... PHP... still... DOESN'T HAVE BASIC FUCKING TOOLING! Fuck, I just did.
  • 1
    @abkcode
    That is completely unacceptable.
    Correct them or fire them.
  • 0
    @Root many developers have worked on the webapp and they already left.
  • 0
    @abkcode use JetBrains products! They're amazing
Add Comment