Description
Have you ever been frustrated by code (mostly your own?) that’s difficult to read or understand? Or spent hours wading through hundreds of lines of code to fix a bug? Or had a hard time changing your code because you’re afraid you’ll introduce some new bug? If you write code, you’ve probably written your share of bad code—who hasn’t? This follow up to last year’s highly rated course “Clean Code” has been expanded with even more ways to elevate your coding skills. We’ll explore the importance of naming, what functions and classes should do, why comments are (mostly) evil, and how proper formatting is a critical part of writing clean code. You’ll learn about the important skill of refactoring your code, and how unit tests can help you safely refactor. Whatever language you’re programming in, and whatever Autodesk product you focus on, you’ll learn something valuable in this class.
Key Learnings
- Learn how to write more-cohesive, focused classes and methods
- Learn how to use dependency injection to write more-testable classes
- Learn how to name classes, methods, and variables meaningfully
- Learn how to apply refactorings to improve code