Ad
  • Custom User Avatar

    I'm too tired to try and figure out if there is a better way of doing this. I feel like I could compute less though. Need to look into it a little but I think I could be smarter.

    Calling the isCBigger... function with an array as the parameter seems strange. I feel like it is too dependant on the scenario, I mean it is the scenario though so why not? But yeh, I would like it to take a list and a number so that it doesnt have to be used for just comparing A, B and C but as many as wanted. YAGNI though. Could just be the naming.

    Anyway, I'll think about it in the morning.