2

How many messed up things can you find in this piece of code?

Comments
  • 0
    thankfully he had enough brains to atleast comment out `// _viewTestPreview = view;`
  • 0
    this is objective-c right?
  • 0
  • 0
    Also notice that he just commented out that line, instead of deleting because he was not sure lol, he just guessed "maybe this isn't actually required lets comment it, but leave it there just in case" LOL
  • 3
    Come on guys atleast say something about the variable name caminit LOL
  • 2
    Objective C I'm guessing. That means the whole thing is messed up 😋
  • 2
    ok here goes, idk what caminited is doing right there, my best guess would be a bool that checks if camera is initialized? based on that its being set to true after camerahelpers initialize.
  • 1
    un-necessary local variables, he couldve just supplied the addresses of.the class variable refs LOL
Add Comment