#Naming

1 messages · Page 1 of 1 (latest)

empty swan
#

How do I get better at naming stuff in my code?

crystal prism
#

wdym

astral mural
#

naming the stuff something related

vestal hill
# empty swan How do I get better at naming stuff in my code?

If you mean like variable names, it's just about getting into the habit

  • Avoid abbreviations
  • Be specific
  • Try and use standard programming cases and be consistent, like camelCase.

Imagine someone else is reading your code. Would they know what that means and its usage immediately?

empty swan
#

I heard that Utils modules are bad

#

And my current project uses utils.

vestal hill
empty swan
vestal hill
empty swan