Konbini Ossan Volume 7 Chapter 7 — Object-Oriented

“So, Otogin, now that you’re a freshly minted lovey-dovey newlywed, what business do you have with me?”


Shuri said as he leaned in to peer at my face.

The day after Arisa and I shared our skills, I came to visit Shuri.

The reason was to tell him about a fact I had discovered by using «Calculator».


“Actually, there’s a major discovery I really want you to hear about.”


“Oh? If you’re saying that much, Otogin, it must be something pretty big, huh?”


Shuri said with an expectant grin.


“So then, what exactly did you discover?”


“Yes. In fact, it looks like it may be possible to grant another person’s skill using enhancement magic.”


“…What?”


Perhaps because my statement was far too concise, Shuri tilted his head in confusion.


“Hold on a second, Otogin. That’s a bit too abrupt. Can you explain it properly, step by step?”


“Yes, of course.”


And so, I began explaining the conclusions I had reached using «Calculator» yesterday.


“First, about existing enhancement magic circles. With conventional enhancement magic, regardless of the skill’s content, it’s implemented in what I’d call a procedural form, using terminology from my original world.”

(E/N: Basically, the activation is a step-by-step process…)


“Procedural?”


“It’s a format where, when you try to do something, you process each step from one through ten in order. In the case of enhancement magic, you implement each of those steps, from one to ten, directly onto the target.
Then, when the skill is actually used, those steps are executed in sequence, and once all processing is complete, the skill activates. That’s how conventional enhancement magic works.”


Shuri didn’t interrupt my explanation. Well, up to this point, it’s all established knowledge, so that’s to be expected.


“However, this approach causes several issues. First, the procedures can’t be reused exactly as they are.
When you grant A’s skill to B, all the references to A within the procedure are converted to B, so if you leave it as-is, the skill won’t function properly. That’s why additional magic power is needed to correct those parts.”


“Right. And that’s also why the cost of granting someone else’s skill is so high.
If C grants A’s skill to B, the conversions become even more complex, and it ends up consuming an enormous amount of magic power. It’s not impossible, but it’s absurdly inefficient.”


Shuri explained the very point I was about to make.


“That’s where what I discovered this time; or rather, what I took as inspiration; comes in. It’s a concept from my world called object-oriented design.”

(E/N: Object-Oriented Design or OOD is popular in programming languages where a program is run by objects that are not just simple instructions but they interact with each other and are not specialized to one instruction thus, their parameters, like stats in RPGs, are not constant. Apologies for the yap! 😂)


Realizing that I was getting to the core of the topic, Shuri’s eyes sharpened slightly.


“To explain it briefly, instead of processing everything from one to ten in strict order like procedural methods do, you divide the work by roles.
You prepare the tools needed to carry out the steps from one to ten. Those tools, the objects, are combined to progress through the overall process. That’s the idea behind object-oriented design.”


To be honest, I’m no expert in programming languages, so I can’t say for sure whether this explanation is perfectly accurate.

But what matters here is the idea itself. As long as referencing programming concepts allows us to optimize enhancement magic circles, a few inaccuracies won’t matter.


“And by changing enhancement magic from procedural to object-oriented, a major advantage emerges.
The number of things that need to be converted when granting a skill is drastically reduced.”


As I said that, I took out a sheet of paper from my pocket and spread it open.


“As an example, here’s a magic circle for engraved on an Illumination Stone.”


“…What?!”


Upon seeing the magic circle drawn on the paper, Shuri let out a shocked cry.

That reaction was only natural.

Compared to conventional magic circles, the one before him contained more than ten times the amount of information; a massive, densely packed magic circle.


——————
E/N:

For the next few chapters, we going to dive into research about enchantments and magic! It's going to be enlightening!

Stay tuned!

——————

——————————
Check out my other project -
——————————


Previous       Table of Contents       Next

Comments

Popular posts from this blog

It Seems the Convenience Store Clerk Ossan That Got Dragged Into the Teleportation of an Entire Class Will Make Use of the Leftover Skills the Heroes Didn’t Want and Become the Strongest

Konbini Ossan Volume 1 Chapter 25 – Herb Gathering and Skill Imbuing

Konbini Ossan Volume 2 Chapter 26 — A Man Named Yuichi Otsugi