Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

You NEED to Do This Exercise - C# Code Review and Learning Assessment for Game Development

Code Monkey via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn essential C# programming practices through a practical code review exercise that demonstrates common mistakes and how to avoid them. Examine real examples of problematic code from 2013 to understand the importance of proper variable access modifiers, consistent naming conventions, and eliminating magic numbers. Discover why removing outdated comments, avoiding inefficient string operations, and steering clear of Find() methods can significantly improve your code quality. Master the principles of clean code formatting, clear variable naming, and proper data management while learning to identify "code smells" that indicate potential problems. Follow along with a structured approach to reviewing your own old code to track your programming progress and identify areas for improvement in your game development journey.

Syllabus

00:00 Intro
00:33 Are you actually learning?
01:05 Simple XP exercise
01:55 Cringe code review from 2013!
02:58 Lessons learned: public vs private
03:53 Consistent naming rules
05:44 Magic numbers
08:54 Removing old comments
10:16 Bad string usage
13:06 Stop using Find
14:11 Don’t abuse global data
16:10 Name things clearly
17:19 Clean formatting
18:17 Code that smells
18:49 Recap + do this for yourself
19:25 Outro

Taught by

Code Monkey

Reviews

Start your review of You NEED to Do This Exercise - C# Code Review and Learning Assessment for Game Development

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.