Code

Smells

  • We speak Spanish
     
  • We don't have spicy food
     
  • We don't have seasons
     
  • The weather is diverse (5° - 35°)

5€

Juan Herrera

PARKSIDE.AT

Google Developer Expert

Google Developer Expert

Ask me how to become a:

⭐️ Google Developer Expert ⭐️

@jdjuan

@jdjuan

@jdjuan

Problem

@jdjuan

@jdjuan

@jdjuan

@jdjuan

Code smells are the symptoms of an underlying problem

 

@jdjuan

The immune system

@jdjuan

@jdjuan

THE UNDERLYING PROBLEM?

 
 

Can you find

 

@jdjuan

@jdjuan

@jdjuan

When it comes to animals, I prefer:

 
 

@jdjuan

Dogs

Cats

TOP 10

💩

@jdjuan

@jdjuan

Poor TypeScript configuration

Poor folder structure

@jdjuan

tsconfig.json

@jdjuan

#9

@jdjuan

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

@jdjuan

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

@jdjuan

Poor maintainability

Poor folder naming

@jdjuan

@jdjuan

Senior
Developer

Junior
Developer

@jdjuan

"What you consider wrong is usually the consequence of something intrinsically wrong in the system"

 
 

THANK YOU!

@jdjuan

🙏🏻

Angular Code Smells

By Juan Herrera

Angular Code Smells

  • 2,329