paint-brush
How To Setup An Effective Refactoring Process of a Heavy Database Interfaceby@maddevs
173 reads

How To Setup An Effective Refactoring Process of a Heavy Database Interface

by Mad Devs6mJuly 23rd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The bigger the interface, the weaker the abstraction, Go proverbs. Rob Pike refactored an interface that helps a program communicate with a database. The problem with this interface was its size — 130+ methods in one single interface! That’s a lot of methods and that is not what SOLID interface should look like. The bigger interface makes it very complicated to do refactor in “once and for all” style. The next step, therefore, should be breaking the interface step by step, one aggregate after another.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - How To Setup An Effective Refactoring Process of a Heavy Database Interface
Mad Devs HackerNoon profile picture
Mad Devs

Mad Devs

@maddevs

Software Development Company

L O A D I N G
. . . comments & more!

About Author

Mad Devs HackerNoon profile picture
Mad Devs@maddevs
Software Development Company

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Idcrawl
Theteams