142
burnaut
7y

Reading the Android source code and finding this gem here 😂

Comments
  • 9
    And that's what happens when you don't trust git.
  • 22
    If false is the best way to comment code out...

    (not)
  • 2
    Why not try Darcula?
  • 2
    When you need that quick fix xDDDD
  • 4
    Best Screenshot xD Better print it and scan it 😋
  • 1
    @MatanRad why not? Preserve the syntax highlighting, all the meanwhile not running the code. Win win, doesn't make any difference to anything because it won't even be compiled most likely.
  • 2
    @px06 I can see what you're saying but honestly lately I've been trying to stop myself from leaving commented code inside my programs, that's what git is for 😋
  • 2
    @MatanRad git is just for version control, people make their own standards with this sort of thing. I don't see anything wrong with commenting old code,I feel like it helps in a lot of cases.
  • 0
    I actually found a lot more if(false) constructs in the android source code like this, it really seems to be a common practice there...
  • 1
    @burnaut there must be a criminal ninja programmer on the Dev team. He if(false)'s code wherever he goes! Who will stop him?! Conditional man Android needs you!
Add Comment