top | item 42987184

(no title)

turdprincess | 1 year 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.

discuss

order

sethammons|1 year ago

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