filmov
tv
Step-By-Step Chess Game Refactoring | Code Roast
Показать описание
It’s been a while, but I am back with a new code roast video! Today I'm refactoring a Chess game. By practicing code reviewing you greatly improve your own coding abilities, become more critical of your own code and open up your mind.
🔖 Chapters:
0:00 Intro
2:03 Example code explanation
5:03 Analysis of the current code
5:10 Wildcard imports
6:30 Hardcoded values
7:19 Initialising issues
7:57 CommandHandler misplacement
9:30 Precise type hints
10:30 Reuse buttons and images
17:20 Law of Demeter violations
18:38 Refactor 1: Guard clauses
20:59 Refactor 2: Change the Piece inheritance hierarchy to a single class
24:18 Refactor 3: Create a Board class that has useful methods
26:55 Refactor 4: Fill the board from a FEN string
29:07 Refactor 5: Split out the valid moves functions
30:35 Abstraction with Protocol class
30:50 Final thoughts
#arjancodes #softwaredesign #python
Step-By-Step Chess Game Refactoring | Code Roast
Refactoring javascript CHESS ENGINE so I finally love how the code looks like
Create a Chess Game with ReactJS - Part 20: Refactoring referee
CHESS! // Code Review
ChatGPT Plays Chess! #shorts
Javascript Refactoring in the chess game
Refactoring Legacy Code STEP BY STEP (Part 2)
Nesting 'If Statements' Is Bad. Do This Instead.
Null Piece + refactoring - Implement Chess with Ruby for beginners
Refactoring & Trying to Spell Quiescence Search | AI Professor Improvises Some Chess Programming...
Coding Adventure: Making a Better Chess Bot
Refactoring Flick-Chess
Refactoring a Chess Program in C#
Part 12 - Building a Chess Game Engine TypeScript - Refactoring to follow SOLID principles
Programming Chess from Scratch | 03. Refactoring is Fun
ChatGPT is INSANE at Refactoring Code!
Refactoring JavaScript
Learn Rust and Build a Chesscomputer Ep.3: Refactoring and testing
Playing Video Games One Frame at a Time - Ólafur Waage - NDC TechTown 2023
Pruning the Search Tree | AI Professor Improvises Some Chess Programming #4
GUADEC 2018 - Federico Mena Quintero - Patterns of refactoring C to Rust
♟️ Code CHESS in JavaScript (Super simple!)
Refactoring a Chess Program in C# Part 3
Refactoring to Immutability - Kevlin Henney
Комментарии