Chapter 102 Java Programming Ideas

Ever since Imu started teaching Kaichi their runes, he had the bold idea of programming magic as if it were a program.

This can't actually be regarded as his own idea, he had seen this routine when he was reading novels in his previous life, but now that Imu taught him runes, he remembered it.

It's just that, at the beginning, he had problems.

In his previous life, he was not a big bull, he could only be called a code farmer, and he was only proficient in the language Java. But the characteristics of runes, which are more like assembly language or even machine language, are quite far from the Java he is familiar with.

It's just that some basic ideas can still be applied, such as developing generic modules, developing interfaces, and so on.

Jiayi is most familiar with the object-oriented idea of Java, the so-called object-oriented, that is, in the end, the object can not be found.

All around us, every thing is an object, and in a word, the object is the entity that exists. For example, televisions, cars, desks, buildings, and even us humans are all objects. The object is divided into two parts, static and dynamic. Static: As the name suggests, it refers to the part that cannot be moved. For example, everyone's age, gender, height, weight, etc. are static. These characteristics can be summarized as attributes, and all objects have attributes. Dynamic: that is, the behaviors and actions that a person with these attributes may do (smiling, crying, walking, running, etc.). Humans learn about objects by exploring their properties and observing their behavior.

Object-oriented is a way of understanding and abstracting the real world, so it's not just about software programming, it's also about magic.

There is a book called Java Programming Ideas that not only covers all the basics, but also discusses advanced features and elaborates on object-oriented principles. It claims to be a classic object-oriented narrative for beginners and professionals alike.

It's a pity that Jia Yi hasn't read a few pages, and he thinks that reading books is still too boring, especially this kind of reference book, this object and that object, and the reference of the object inherits a big circle of Balabala, but it confuses himself. He prefers to run the use case directly on the computer, so that he can understand the logic of the program more intuitively.

Now, he feels how important the theory he is missing, because the theory is figured out in many places, and the specific operation is different in another place. He couldn't even recall the book in his mind now, because he only turned the first few pages and didn't look any further.

He could only start experimenting directly, judging whether his approach was effective or not, first of all, he took the Flame Palm that he had learned and felt that it was useless except ignition.

I didn't pay attention to whether the Flame Palm was called Agni or Flame Jiaichi, so you can imagine how low the recognition of this spell technique was.

Aside from being able to exercise the control of the fire element and the ease of ignition, there is almost no other use. As for lethality, you can't expect a mage to swing a pair of fleshy palms in melee combat, right?

The main thing is that the Flame Palm has a simple structure and low power, and even if something goes wrong, it will not cause a magic backlash.

The control part of the Flame Palm is not perfect, and it can only block the damage of the flames to itself. Jiayi's first step is to optimize this step.

Although Jia Yi has a lot of ideas, but his strength is limited after all, and he can't do anything too complicated, this experiment is basically just for verification, just to prove whether it is feasible, regardless of whether the result is perfect or not.

In the control part, there are actually only 2 runes, combined with another rune in the spell performance part, to achieve the isolation of the temperature, so that you will not burn. Jiayi's first step is to separate these three runes and reconstruct a control part, an independent control part.

Kaichi originally wanted to build a general-purpose controller that would provide control for all spells. He just wanted to try, but he had to give up because he didn't even know where to start.

Sure enough, newbies are more friendly starting with "hello word".

Jia Yi gave up Gao Daquan's operation and began to explore the connection between the three runes. The three runes are all known, namely isolation, direction, and temperature. Each individual rune was known to Kaichi, but how they interacted with each other and affected the effects of the spell, he was unclear.

Jiayi's mental power is strong, and he can have a good insight into the flow of magic between the runes in the spell model, but when Jiayi constructs these three runes separately and puts them together, there is no separate connection between these three runes, or in other words, the connection is very weak, and the magic power that makes up the runes quickly dissipates, and the runes cannot be maintained.

He had tried to increase the mana supply to keep the runes longer, but it still had no effect.

Sure enough, no matter what, it's much easier to think about than to do. Just like writing a program, the customer or product manager always thinks that the implementation is simple when they put forward requirements for the software, but when the developer develops it, they will find that all kinds of problems will occur, and then the software will only look similar to the functions implemented by the software, and it is not the same thing at all.

Originally, there was a problem that Jia Yi was going to go to his teacher for help, but he gave up after thinking about it, and the design of the magic circle has reached a critical moment, and even the class is now based on Jia Yi taking Daer and Flower to study on his own.

Jia Yi was good at experimenting on his own, but fortunately, he didn't think about making any results immediately. Even if his general-purpose controller is a result, it will not be better than the structure in the spell model, the focus is on general, and the existing control module can be used when learning other magic, without re-architecting.

Ideally, all spell models can be encapsulated as a base module, and when learning new magic, they can be used and combined, and then it becomes a new magic.

It's just a pity that this is just a good wish now, and I don't know what year it will come true, or it will never come true.

When he was tired of thinking about the problem, Jia Yi went to the courtyard to practice tai chi.

Every time he practices Tai Chi, the soothing boxing will bring him inner peace, although it will not make him think more clearly, but it will eliminate the negative impact caused by irritability, and improve efficiency in disguise.

Especially when his magic power and Tai Chi have changed, the practice of Tai Chi has become more significant.

It is likely that this is not only the effect of Tai Chi, but also the interference of his own spiritual power in reality.

To put it simply, he identified that his Taijiquan is extraordinary, and Taijiquan is really extraordinary. It's not that Jia Yi has a special ability, but his body is "deceived" by his thoughts, there was once such an anecdote, saying that a patient has no cancer, but the doctor made a mistake in the physical examination report, and got the physical examination results of a cancer patient, thinking that he had a terminal illness, and after a period of time, he really had a terminal illness.

It's not clear whether this rumor is true or not, but there is something called the placebo effect in the medical field.

Especially in the other world, Jiayi's spiritual power is even more extraordinary, and it does have extraordinary power, and these coupled with the legend of Taijiquan have prompted Jiayi's Taijiquan to embark on another transcendent path.

Although it is not very useful now.