Chapter 252: The strength of fruit research and development

What Yang Jiangang said was: "This DKP is very good, but is there an upper limit?"

Chu Yuanxi didn't understand for a while, Yang Jiangang deserved to say: "I mean, DKP is equivalent to the currency of exchanging company resources, can I accumulate a lot of DKP and then do a big thing?"

Chu Yuanxi looked confused: "How big are you going to do?"

"Do you remember what you promised me?" Yang Jiangang raised his eyebrows, "In Pangu Seven Stars, you have the ability in the future, and you will help me realize my ideals." ”

Chu Yuanxi swallowed his saliva, and said in his heart Yang Jiangang, is this holding back a big move, so he nodded: "Do you have any unreliable ideas, let's come down and talk alone." ”

"Okay!" Yang Jiangang spoke as if Chu Yuanxi was already capable, but in fact, Ba Ren Entertainment was far from real success. Therefore, the conversation between the two made He Namei, who was standing aside and watching the excitement, even more unhappy.

The people who came to listen to Chu Yuanxi's talk were not only Yang Jiangang and Zhao Jie, but also the front-end and back-end main processes of the game team developed by Fruit. They are not employees of the Ba people, but they are likely to be in the future, so they were also invited by Chu Yuanxi to audit the company's new policy.

Compared with Zhao Jie and Yang Jiangang's calmness, their psychological fluctuations are significantly greater.

The back-end master is called Chen Ran, and he is in his thirties this year, and when the mobile game was popular a few years ago, he earned a lot of bonuses with the fruit release, and his annual income of one million made him float very much, and then there was no successful product. Of course, the main backend should not be the main responsibility for this, because it is difficult for later games to succeed. His skills are still excellent, and because he is not married, he is much more financially free, and although he has a mortgage to pay, his yearning for success is greater than a stable and monotonous life.

The front-end master Cheng Jiangbo is much smaller than Chen Ran, but he is already married. His marriage is really very typical, he is from Gancheng, Xijiang, his wife is from Shudu, he works in the imperial capital, his wife works in the magic capital, and he is very happy.

His ambition is much smaller than Chen Ran's, and of course he is still very hungry for bonuses, because he needs to please his wife.

The two of them glanced at each other, and almost at the same time remembered that Chu Yuanxi had asked to see their codebase not long ago.

This requirement is actually a bit excessive, because the project is a fruit network, although they are already in Cao Ying's heart in Han, but who knows if Chu Yuanxi will test their professional ethics?

At this moment, a news came from a work group where the two of them were, and the two looked at their mobile phones and found that it was an instruction from the Modu headquarters: you can show Chu Yuanxi the code base.

"!" The two looked at each other, it turned out that Chu Yuanxi was serious, and the princess had put forward his request to the demon capital. In fact, they are thinking too much, Chu Yuanxi's request is very reasonable, since your fruit network wants to throw the burden on me, then of course I have to look at their strength. When you look at the product on the device, you can't tell whether it is gold or jade, but it is much more obvious when you look at the code base.

Therefore, after the meeting ended, Chu Yuanxi first snubbed Yang Jiangang and followed Chen Ran to the machine of the project team.

This look was more than an hour, Chu Yuanxi took a general look, and found that it was much more neat than the last time he saw Zhao Jie. It's a bit of an exaggeration to say that it's meticulous, but there are no obvious low-level mistakes in writing annotations, and there are no strange things like Zhao Jie using str to save numbers, but there are more cases of writing special cases.

It seems like it's inhumane to ask game developers to write fewer exceptions.

Chu Yuanxi's level is limited to picking thorns on the big surface, you let him judge the level of the two pieces of code, and in the case that it doesn't look bad, he is 100% numb.

Of course, the problem still has to be picked, Chu Yuanxi opened a planning form and pointed and asked: "Hey, why does this form require that when planning and assigning IDs, it must start from 0 and then keep it continuous?"

"Because it's easy to write. Chen Ran said as a matter of course, "The procedural mechanism is different, how efficient is this kind of form program?"

"But what if we transplant and expand multiple platforms?" Chu Yuanxi asked casually, "Sometimes the game needs to be operated by other companies, right? Then you pass the first version, and the other party adds a paragraph to the table, and a new ID has to be occupied, and then what happens to the other party when your second version is updated? They have already taken up that ID, and the new version you passed also has this ID. ”

"Mr. Chu, we are just developing an outsourcing project, so we don't have to think about things so far, right?"

Chen Ran knew what Chu Yuanxi was talking about, and was surprised that Chu Yuanxi could ask such a professional question.

One of the great advantages of the ID discontinuity in the table is that it can be expanded and identified by "ID segment management".

For example, in the role table, the first digit of ID represents gender, male is 1 female is 2, the second to fourth digits represent race, human is 100, orc is 200, and blood elf is 300, so that each of the nine races occupies an ID segment, and the fifth to seventh digits are specific IDs. For example, if the ID is 1201017, it represents the male werewolf character 17 (assuming the werewolf code name 201 in the orcs).

This method is somewhat similar to the data structure in a program, and it looks very clear. 1201017 the next row may be a lizardman, 1202001, there is a big break in the middle, so if you need to add another werewolf 18, you can insert it directly under the 17th.

In the way Chen Ran requested, all IDs must be consecutive, so there will inevitably be chaotic ordering. Still take the role list as an example, the first version of 100 characters, may be 0-99 in order of race and gender, and the second version adds 50 new ones, it's over, you can't insert it forward, you have to start writing 100-149 from the back of 99, the old and new versions of the werewolf are separated by the north and south in the table, and there is no order after a few versions.

If this problem is not serious, then the situation that Chu Yuanxi said is much more serious. The first version of the table passed by the project team to the operator was 0-99, which was clearly written, and the operator took a look at it, and there were so few characters, which is not easy to sell cards, so he added 50 new characters, 100-149, and then took them to sell.

However, unbeknownst to the project development team, in the next version, they also added 50 new characters, with IDs 100-149, and passed them to the operator, at which point the operator had nothing to say except for the mud horse.

Chu Yuanxi can accept Chen Ran's explanation, but he can't accept Chen Ran's way of working, because his so-called high efficiency is not more than 1/10,000 higher for the product, and even the code is "easy to write" has to be marked with an asterisk.