The ability to abstract is really important

I have been working on several modules recently, and I feel more and more tangled in the code writing. I don’t use any new technology. They are all things I used before. I am actually very skilled in using dataTable, echarts, mybatis and other things, but the code I always feel unhappy about writing, and I don’t even want to write halfway through it. Something happened just now, and I suddenly realized the crux of the problem.

Why is abstract ability important? Because when I drew a certain table just now, the data of a certain column was not easy to come out, and the time was not allowed. I asked the boss, and the boss said no. You should discuss with the background and build another table.

After contacting the back-office buddies, I thought, since we built an extra table, why not associate more fields that he used when running the data, I added a few fields on my own accord, precisely because of the addition of these fields, In an instant, there is a feeling of willows and flowers, and there is no need to scrape together to find data, the code is instantly refreshed a lot, and the thinking is also clean.

Does this have anything to do with abstraction?

Yes, and it has a lot to do with it.

The current development is actually driven by data. The customer gives the demand, then builds the table here, and the background buddy runs the data. I am responsible for moving the data to the page.

Building a table is actually a very critical part. It is a part of abstracting requirements into database fields. It can clarify the relationship between many specifications and parameters, and use several tables to clearly and clearly complete the development requirements. A rather rare ability.

In fact, it's not just about building the table. When writing code, if you can master the overall logic flow, the development process will be much smoother. If you can look at the required data from a high level from the beginning, the efficiency of the code will be greatly accelerated. This speedup is not a programming skill such as changing String to StringBuffer, but another angle.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326314051&siteId=291194637