in

The amount of people writing their ‘solution’ in the comments is too damn high

The amount of people writing their 'solution' in the comments is too damn high | code-memes, string-memes, scala-memes, comment-memes, private-memes | ProgrammerHumor.io
code-memes, string-memes, scala-memes, comment-memes, private-memes | ProgrammerHumor.io

Content

private static string GetPercentageRounds (double percentage) if percentage 0) return "0000000000"; if (percentage 0.0 percentage 0.1) "0000000000"; if (percentage 0.1 percentage 0.2) return 000000000"; if (percentage 0.2 percentage 0.3) return 900000000"; 1- (bercentage 0.3 percentage 0.4) return if (percentage 00000000"; 0.4 percentage 0.5) 00000"; if (percentage 0.5 percentage 0.6) 000": if (percentage percentage 0.7) return if (percentage return if (percentage return 00"; percentage 0.8) 000"; percentage 0.9) return "O 000000000"; NOoooo!!1 Where is your maintainability and scalability??? Deny the pull request! This code is not good it’s bearely acceptable!!111 34 34 THIS IS GOOD CODE THIS IS GOOD CODE 14 14 0.1 10 score 55 2 70 85 100 115 130 2 145 0.1