直到某一天出现了一个叫.net core的天才程序员，叫灭霸，也在这个项目中开发，他意识到，这个项目已经很庞大了，光是编译都要几个小时，运行起来负重累累，而服务器资源就这么有限，老板又不给买机器，如果一直继续这么开发下去，这个项目迟早要出现网P0事故的，于是下定决定要把这个项目用.net core重构，再逐步重新写，灭霸提取重复代码，业务拆分，算法优化等手段，打响指删除垃圾代码，并彻底优化，使代码量减少50%。
Interpretation of the Avengers in IT
Interpretation of the Avengers in the IT industry, the Marvel universe actually talks about one thing. The entire universe is like a Java project. There are a group of people called Captain America, Iron Man, Captain Marvel, Hulk, and Sol. This project is dedicated to fixing bugs.
Until one day, a genius programmer named .net core appeared, called Thanos, who was also developing in this project. He realized that this project was already very large, and it took several hours to compile, and it was very burdensome to run. , And the server resources are so limited, and the boss does not buy machines. If you continue to develop this way, this project will have a network P0 accident sooner or later, so it was decided to rebuild this project with .net core, and then gradually rewrite it. , Thanos extracts duplicate code, business splits, algorithm optimization, and other methods start to delete junk code, and thoroughly optimize so that the amount of code is reduced by 50%.
Captain America’s project team is called The Avengers. After discovering the actions of Thanos programmers, they stopped and warned Thanos and said: Don’t change the old code easily! !! Otherwise, bugs are easy to occur, and the code can run! !!
However, this programmer named Thanos worked hard and obtained the support of the company’s five major shareholders, leading team 996 to work overtime for one month, reducing the amount of code by 50%, and the project was as light as a swallow. Because the amount of code has been reduced a lot, the evil IT industry has also begun to lay off employees. The Star-Lord project team, Spider-Man, Scarlet Witch, and even Doctor Strange who has a doctorate have been laid off.
After the layoffs, the project team headed by Captain America endured grief, faced life, and continued to develop and fix bugs. However, like Thor, because they were dissatisfied with the company’s practices, they began to grind foreign workers, play games, and drink drinks at work, and wait to be caught. The company awards compensation.
One day a code farmer named Ant-Man found Captain America and said that it is impossible to roll back, but we can re-merge the old code to the master. As the leader of the project team, Captain America felt very guilty about his former colleague being unemployed, so he secretly divided his troops into five ways to invite five major shareholders to drink and eat, threatening and lure him, and got a live server account!
The code was successfully rolled back, and many employees who were previously unemployed were rehired, such as Spider-Man and the outsourcing team Wakanda. After Thanos discovered it, he furiously said, your group of stablers who are addicted to old technology, I want to refactor the entire project with scala, so that your group of scumbag programmers is unemployed!
Finally, because .net core Thanos was too radical, it repeatedly adopted new technologies in the project, which aroused the joint opposition of the old team members. Finally, Thanos’ rewrite project action was successfully blocked, and Thanos was fired by the board of directors. The above is The story of the Marvel universe in the IT world.
【江湖人士】(jhrs.com) 投稿作者：Game Over，不代表江湖人士立场，如若转载，请注明出处：https://jhrs.com/2019/27355.html