Proof of item:
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler
Getting to the top in coding means writing clean, easy-to-understand code.
You’ll also have to put right bad code.
This course will teach you everything you need to write complex, yet simple, beautiful code and how to refactor poor code.
As any senior level C# developer will tell you, beautifully written code is everything.
Why? Because the majority of code will be read 10 or more times by a human over time.
So, ugly code just doesn’t cut it. It may work for a while, but when it comes to maintenance, you’ll be fighting an uphill battle. If the code stinks, in time, so will the output.
There are two unbreakable rules to become the best programmer you can be:
The first golden rule is: aim to write clean code first time
The second golden rule is: learn to change the structure of your code without changing its external behaviour (this is called refactoring).
This course reveals all of the tips and tricks you need to do both, meaning you’ll be coding like a pro in no time.
Every lecture is designed to break down exactly what is wrong with the example code, how to spot it and how to put it right. You’ll get step-by-step instructions on how to refactor code without breaking anything. And as a bonus all of the source code is available for instant download – ideal for future reference.
This course:
– is the most in-depth guide to clean coding from a senior coder who knows his stuff
– gives you tips, tricks and secrets learned from 15+ years of practising writing beautiful code
– is structured so you learn everything you need through real-life examples and tutorials
– contains no B.S. and is 100% applicable straightaway
By the end of this course, you’ll be able to
- Spot stinky code and refactor it in no time
- Refactor your code using safe and fast refactoring techniques with ReSharper
- Write beautiful code that is readable and easy to maintain
- Break long sections of code into small understandable chunks
- Simplify nested/complex conditional blocks
- Design the proper signature for your methods
- Remove duplicated code
- Refactor long switch/case blocks
Course Curriculum
Introduction (3m)
Start1- About the Course (2:20)
Start2- Source codes
Common Code Smells (1h 45m)
Start1- Poor Names (8:08)
Start2- Poor Naming Convention (2:08)
Preview3- Poor Method Signatures (12:26)
Preview4- Long Parameter List (11:33)
Start5- Ouput Parameters (10:14)
Start6- Variable Declarations on the Top (5:14)
Start7- Magic Numbers (8:38)
Preview8- Nested Conditionals (23:49)
Start9- Switch Statements (23:04)
Start10- Duplicated Code (14:28)
Start11- Comments (9:43)
Start12- Long Methods (30:32)
Complete Refactoring Examples (35m)
StartWebForms Refactoring – Part 1 (17:10)
StartWebForms Refactoring – Part 2 (17:20)
All ok | Mosh Hamedani – Clean Coding and Refactoring