26
SuryaK
8y

When u correct someone's coding style, telling them it's not standard and tell them what is the standard way of doing it and they reply with a "why should I do it that way?"

Comments
  • 0
    Welcome!
  • 5
    Back in college, our DBA prof taught us to follow standard syntax coding LIKE SELECT, FROM, AND etc. IN UCASE to make the code readable and help the next programmer the least. But, sometimes i get lazy tho.
  • 3
    @kaqqao I agree. But u can break the very basic ones like naming variables with a meaning, spaces around arithmetic operators and basic indentations
  • 1
    @kaqqao @SuryaK *can't
  • 3
    If one reads enough code one will understand why standards are helpful.
  • 1
    Agree on standards upfront when working with other devs. Saves so much trouble down the road. And document it somewhere so you remember what you agreed on and can share it with the next dev.
Add Comment