Code
Smells
5€
Juan Herrera
PARKSIDE.AT
Google Developer Expert
Google Developer Expert
Ask me how to become a:
⭐️ Google Developer Expert ⭐️
@jdjuan
@jdjuan
Problem
Code smells are the symptoms of an underlying problem
The immune system
THE UNDERLYING PROBLEM?
Can you find
When it comes to animals, I prefer:
Dogs
Cats
TOP 10
💩
Poor TypeScript configuration
Poor folder structure
tsconfig.json
#9
Poor TypeScript linters
Poor TypeScript knowledge
#8
Poor HTML linters
Poor Change Dectection
#7
Oti Kelechi
NgNigeria
Lack of lazy loading
Too many modules
#6
Wassim Chegham
Microsoft
Text
Shared Module
Module A
Module B
Module C
Shared Module
Module A
Module B
Module C
Isolate the shared module into a repository
Redesign the module structure of the app
#5
Susie Sahim
PaperDemon.com
Poor component linters
Poor service design
#4
Lack of proper names
Lack of proper types
#3
Carlos Roso
Toptal
Memory leaks
Race conditions
#2
Majid Hajian
ngVikings
State management
Scalability
#1
Poor maintainability
Poor folder naming
Senior
Developer
Junior
Developer
"What you consider wrong is usually the consequence of something intrinsically wrong in the system"
THANK YOU!
@jdjuan
🙏🏻