Skip to content

exeal-es/smelly-tic-tac-toe-kata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Smells Kata

Smelly Tic Tac Toe

We created a very smelly implementation of TicTacToe. There are quite a few code smells in the implementation:

  • Primitive obsession
  • Feature envy
  • Data class
  • Message chain
  • Long method
  • Comments
  • Long parameter list
  • Shotgun surgery
  • Duplicated code
  • Large class
  • Divergent change
  • Data clump
  • Lazy class
  • Dead code

Start by identifying the smells and then slowly refactor the code. Remember to keep the tests passing at all times during the refactor. It's ok to revert back to a previous working state at any moment.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Languages

  • Swift 30.4%
  • C# 19.2%
  • PHP 18.8%
  • Java 16.0%
  • TypeScript 15.0%
  • JavaScript 0.6%