Hacker News new | ask | show | jobs
by turdprincess 494 days ago
Abstraction is a an abstract word, but as an example, I would consider the process of refactoring a big piece of code which mixed together api requests and view presentation into a 2 classes (a presenter, and an api client) as adding abstraction, especially if those new components are defined by interfaces.

And I’d rather work in a codebase where the owners are constantly doing such refactors than not.

1 comments

I'd call that separation of concerns. I call that design more than abstraction.