Overview
Explore the art of effective naming in software development through this 44-minute PHP UK Conference talk. Discover guidelines for naming classes, functions, and variables to create meaningful and context-rich code. Learn how to convey knowledge through well-worded source code, avoid abbreviations, properly use acronyms and uppercase, and consider coding in your native language. Examine practical examples of naming in user stories, variables, functions, and classes, and understand the importance of known phrases and thinking ahead. Gain insights into refactoring techniques and participate in a Q&A session to enhance your ability to create clear, expressive code that communicates effectively with other developers.
Syllabus
Introduction
Why are we naming things
We want to create meaning
Avoid abbreviations
Writing acronyms and uppercase
Can you code in your native language
Open source code
Language
Code
User Stories
Variables
Functions
Classes
Known Phrases
Class Names
Example
Conclusion
Thinking ahead
Practical things
Refactoring
Questions
Create
Taught by
PHP UK Conference