Meaningful Names
Last updated
What is Meaningful Names?
You should follow the practice of giving clear and descriptive names to different components of a system, such as variables, functions, and classes. This can help to make the system more understandable and maintainable by clearly communicating the purpose of each component and its intended usage.
Free resources to learn Meaningful Names
More in stage 3: Object Oriented Programming
- Object Oriented Programming
- Be consistent
- Indentation and Code Style
- Keep methods / classes / files small
- Pure functions
- Minimize cyclomatic complexity
- Avoid passing nulls, booleans
- Keep framework code distant
- Use correct constructs
- Tests should be fast and independent
- Organize code by actor it belongs to
- Command query separation
- Keep it simple and refactor often
Meaningful Names: common questions
Can I learn Meaningful Names in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Meaningful Names in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Meaningful Names tutorial for beginners?
It is lesson 17 of 94 in the free Software Design and Architecture roadmap, in stage 3, Object Oriented Programming. If you are new to Software Design and Architecture, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.