Coding Best Practices
Software engineers who enter the workforce and work on building complex software applications with a team are constantly learning. As they progress in their careers, they pick up new ways to write code and habits and preferences along the way, and sometimes these habits are hard to let go of. Part of joining a new team is adapting to the team’s procedures and adapting your coding style to stay consistent with the project they’re focused on. A common joke among programmers across all years of experience is returning to code they wrote a few months ago and having no recollection of what or why they did it. So, it’s important to make code as clearly written and documented as possible to make it easier to return to, especially if there’s a critical bug that needs to be fixed immediately. As you learned in Chapter 9, Applying Algorithms in C#, and Chapter 10, Object-Oriented Programming, consistency in code makes it more readable so it&...