Good data on data refactoring structures

Currently, most programmers are aware of code refactoring.

How about refactoring data structures, are there any good indications about this?

One paradigm I can think of is the normalization process of a relational database.

Are there any other good examples?

+3
source share
3 answers

Like code, data can be reorganized using the level of abstraction in front of it. Instead of using raw SQL to access your data, place a layer in front of it to abstract your queries. It will not only allow you to reorganize the data structure, but also allow you to completely change your data repository.

0

: , , , , 2007 Jolt Productivity Award " ". , .

0

xUnit Test Patterns: Test code refactoring is a good recommendation for refactoring your code to work well with unit tests. This is not exactly what you are asking for, but it is a good reference to the keyp at hand.

-1
source

Source: https://habr.com/ru/post/1741630/


All Articles