LATEST UPDATES

Published at 28th of April 2021 01:13:14 PM


Chapter 18

If audio player doesn't work, press Stop then Play button again




Chapter 18: The day I make the game of life (3)

*  Day 3  *

Computers do not understand any number others than 0 and 1.

But human do not understand the commands written only in 0 and 1 either. And that’s where programming language was born.

There’s a calculator program. They waits for numerical input, and then calculate it based on human’s rule of calculation.

There’s no other functions in it, only calculation fuction.

“……Are you serious.”

After finished studying it in one go, I was at a complete loss. No matter how many times I read it, it contains only the methods on how to do calculations.

It’s no exaggeration, to say that I’ve already understood all of the programming has to offer.

Let me teach you.

All of the programming!

First of all.

We’ve to create variables.

Creating variables are like attaching a name to a number.

For example,

a = 10;

And after this line, it’ll treat ‘a’ as 10. Of course you can change its value too, for example, a = 5, or a = a + 1 is also fine too. It’s just the simple mathematics. Even Misaki can understands this.

Second, we’ve to create rules.

if ( a > 5 ) a = 5;

else a = 0;

And with these two lines we’ve set the rules.

If ‘a’ is 5 or more, it’ll become 5.

If ‘a’ is lower than five, it’ll become 0.

Perhaps this’s around junior high level of math. No, it’s just something disguised as math, it’s on a level that even Misaki can understands.

Third, there’s none.

That’s all of it.

As for other functions, there’s a function to repeat the process, a function that compile the process, it’s the function that makes programming easier.

You put in the numbers, and then create the rules.

This is all of programming.

Of course there’s a function that helps displaying the numbers and letters but a magical function like ‘Roll a dice’ doesn’t exist.

“……What should I do with this.”

It’s the third day.

The time I was given, it’s almost reaching half of it.

Of course there’s some progress. I can do the typing now, and I also knows the basics of programming. But what I really understands is, that I’ve yet to understand anything at all.





Please report us if you find any errors so we can fix it asap!


COMMENTS