DEV Community

Discussion on: Please refactor your code.

Collapse
 
lopis profile image
Joao L.

I had a professor that taught me a good thumb rule: You have 2 hats: the feature hat and the refactoring hat. You can't wear two hats at a time.

Collapse
 
harshvats2000 profile image
HARSH VATS

Refactoring means changing the factoring without changing features. Code refactoring comes into play once the feature is done :)