I’m working on my book, Clean Apex Code: Software Design for Salesforce Developers, and I want to address something: many times, people get hung up on code aesthetics like where brackets go or whether you use camelCase or PascalCase.
These details are important and they help with readability, but they don’t tackle the real challenge of *reducing complexity in large Apex codebases*.
If you’re looking for a book on purely code aesthetics, like where to place your brackets, whether to use tabs or spaces, or whether to use semicolons in JavaScript code, this book is not for you.
This book is for those who want to take their Apex skills to the next level by learning core software design principles that will serve them well not only in Apex but across other programming languages throughout their career.
My book goes into the principles that really matter, like when to split methods, how to make methods deeper and more meaningful, reducing complexity, and when using comments is appropriate.
Yes, there’s a chapter on naming best practices, but that’s just the start. The book goes on to cover advanced topics like object-oriented programming, modularity, cohesion, software design principles, and modern Apex enterprise patterns.
These are the principles that make the difference between Apex code that scales and Apex code that is riddled with tech debt.
Aesthetics matter, but they’re just a tiny piece of the whole. My focus is on helping you write Apex code that lasts.
Salesforce Consultant
1yWill this session be recorded Pablo Gonzalez