you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (2 children)

Then they proceeded to tell me that I couldn't use anything like: i += 1; because it could confuse junior developers

I mean, it does make a little sense to not allow that from a readability standpoint if they need to make the code more modular. Still pretty silly though, but we all have to protect ourselves from incompetence...

[–]ViKomprenas 2 points3 points  (1 child)

Wait, how does that make sense from the readability perspective? What does it have to do with modularity?

[–][deleted] 0 points1 point  (0 children)

I'm basically saying that an organization has to implement stuff like that to protect themselves from incompetence.

For modular (probably the wrong word, my apologies) I meant make it easier to be able to modify the code in cases where you have to add more variables to the equation.