"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.
– 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
Plus much, much more...
WHAT OTHER STUDENTS WHO HAVE TAKEN THIS COURSE SAY:
"This course was really great at explaining clean coding practices in a way which is easy to follow and understand. Highly recommended!" -Edin Livnjak
"This is a must have tutorial for every programmer. It includes the most valuable tips I have received for 5 years. Thank you Mosh you helped me a lot." -Se He
"Another fantastic course from Mosh. I have't seen another course that explains these essential concepts so clearly. In my opinion all Developers should be taught this type of thing before being let loose within a work environment." -Mark Baker
"Just Love It! Its the 4th course i bought from Mosh, and i do not regret spending any money. I'm working as a developer for 2-3 years now but keep loosing myself in code written by me / others. I can finally understand why and what to change. Thanks Mosh!" -Klaus Prünster
"This course is awesome! It's highly detailed (but easy to understand nonetheless). It has, for me personally, the right amount of information density; Mosh picked exactly the right speed of teaching and progressively intensifies the content, which is great! It is definitively worth the time and money, and one can clearly see the passionate effort the author has put in the creation of these materials. Big respects!!" -Raphael Beck
Hi! My name is Mosh Hamedani. I'm a software engineer with almost two decades of experience. I've taught over nine million people how to code and how to become professional software engineers through my online courses and YouTube channel.
I believe coding should be fun and accessible to everyone.
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)
Frequently Asked Questions
30-Day Money-Back Guarantee
Try it risk-free
You can ask for a refund any time during the first 30 days
if you decide the course isn’t for you.
Are you ready to take your C#
skills to the next level?
Enroll in the course to get:
- 3.5 hours of HD videos
- Real-world examples
- Downloadable source code
- Techniques used by C# experts
- Lifetime access
- Learn at your own pace
- Watch online or offline
- Watch on any devices
With a 30-day full money-back guarantee, what do you have to lose?
Join 29049 happy students!
Stop wasting your time jumping from one video tutorial to another.
With our amazing reviews and money back guarantee, what are you waiting for?