Personal Brand :: Social Media :: LinkedIn :: Post :: Naming Things in Code
⪼ Made with 💜 by Polyglot.
» Naming Things in Code «
I just watched a really good YouTube video titled "Naming Things in Code".
The video enumerates several practices that I already follow when naming things in source code.
Here is a list of the practices:
↳ Don’t abbreviate names
↳ Don’t put types in variable names
↳ Add units to variables unless the type tells you
↳ Don’t put types in your types (e.g. AbstractX, BaseX)
↳ Refactor if you find yourself naming code “Utils”
Țechśavvy CEO
Here's the link to the original video: https://youtu.be/-J3wNP6u5YU