站点图标 江湖人士

IT界复仇者联盟解读

IT界复仇者联盟解读,漫威宇宙其实也就讲了一件事,整个宇宙就好比一个Java项目,其中有一群叫做美国队长,钢铁侠,惊奇队长,浩克,索尔的这些人在维护这个项目,兢兢业业的修理bug。

IT界复仇者联盟解读

直到某一天出现了一个叫.net core的天才程序员,叫灭霸,也在这个项目中开发,他意识到,这个项目已经很庞大了,光是编译都要几个小时,运行起来负重累累,而服务器资源就这么有限,老板又不给买机器,如果一直继续这么开发下去,这个项目迟早要出现网P0事故的,于是下定决定要把这个项目用.net core重构,再逐步重新写,灭霸提取重复代码,业务拆分,算法优化等手段,打响指删除垃圾代码,并彻底优化,使代码量减少50%。

美国队长的项目组叫复仇者联盟,发现了灭霸程序员的行动后,阻止并警告灭霸说:不要轻易去改老代码!!!否则很容易出bug的,代码能跑就行!!!

IT界复仇者联盟

然而,这名叫灭霸的程序员兢兢业业,取得了公司5位大股东的支持,带领团队996加班1个月,实现代码量减少50%,项目运行起来身轻如燕。因为代码量减少了很多,万恶的IT界也开始了大裁员,星爵项目组,蜘蛛侠,猩红女巫,就连拥有博士学位的奇异博士也被裁员了。

大裁员之后,美国队长为首的项目组,强忍悲伤,面对生活,继续开发修理bug,但是像雷神索尔,因为不满意公司的做法,开始磨洋工,上班就打游戏喝饮料,等着被公司裁拿补偿金。

有一天一个叫蚁人的码农,找到了美国队长说,回退是不可能回退的了,但是我们可以把以前的老代码重新merge到master上来呀。美国队长作为项目组的组长,想到以前的同事失业,内心很愧疚,于是偷偷摸摸兵分五路请5位大股东喝酒吃饭,威逼利诱,拿到了现网服务器账号!

代码成功回退,很多之前失业的员工被返聘,像蜘蛛侠,外包团队瓦坎达等。灭霸发现之后,大怒道,你们这群沉迷老技术的稳定派,我要把整个项目用scala重构,让你们这群渣渣程序员都失业!

最后,.net core灭霸由于太过激进,在项目中屡次采用新技术,激起老团队成员的联合反对,最后灭霸的重写项目行动被成功阻止,并且灭霸被董事会辞退,以上就是IT界的漫威宇宙故事。


Interpretation of the Avengers in IT

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.

IT界复仇者联盟解读

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!

IT界复仇者联盟解读

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.

退出移动版