3 ms·
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
by turdprincess 2y 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.
- sethammons 2y agoI'd call that separation of concerns. I call that design more than abstraction.