22
Comments
  • 3
    Wow, that is hideous.
  • 0
    😦
  • 2
    @anth12 gotta get those edge cases tho
  • 1
    I feel like that should be a single function, and that client side form validation would prevent half of that. Poor Ryu would have nothing to use the hadooken on though. 😢
  • 1
    I can just imagine the code review now "function complexity" 😣
  • 4
    Dear god, why don't you invert the if clauses and return errors after them.
    The whole thing could be indented at most once and be infinitely more readable.
  • 3
    // phpfacepalm
  • 2
    @dev0urer //PHacePalm
  • 0
    Ryu, you should 'switch' this up.
Add Comment