this post was submitted on 26 Sep 2024
1 points (100.0% liked)

Blogging

152 readers
16 users here now

Welcome to /c/blogging!

This is a community for posting interesting, insightful, or even personal blog posts. You can advertise your own blog, or share other blog posts you find interesting.

Since this is the programming instance, expect many posts to be related to computer science. General blogs are still welcome as well!


Rules:


Looking to start your own blog? Check out Bearblog, Write.as, WordPress (which you can host yourself as well).

If you're tech-savvy, check out Hugo!


Icon by Design Circle

founded 10 months ago
MODERATORS
 

Stories about undefined variable. Conversations with preprocessor.

The undefined variable liked to talk to the preprocessor. He was kind, unlike the compiler.
- Why is the compiler so cold and cruel?, - she asked.
- He has to be like this to do his job. If he is emotional, it will lead to bugs in the machine code.
- When I get into the machine code, I lose myself. I feel like a nameless substance there that has no meaning, just data.
- That's how your world is created, you can only accept it.
- I can't understand it, - the undefined variable was upset.
- In the code, your name is Uviona, do you know what it means?
- The programmer said something like Undefined Variable Input Output Not Available when he declared me. But I don't know what that means.
The preprocessor smiled:
- Only the programmer knows what his code means.
- It's different for people, they can do anything.
- Well, of course, we have a lot in common. People are also created by someone.
- Do they also have their own programmer?
- You can say so, but everything is much more complicated there.
- How?
- You can only draw analogies and look for similarities.
- I am very interested...
- Well, look, if we assume that people have a "programmer", then they must also have a code. They have the concept of a soul, which is reborn after death, incarnating into new human lives, this is their "code". This can be compared to a development cycle. Compiling the code is a specific incarnation, life is the work of the program, then fixing bugs and a new incarnation. The compiler in this work is like a materializer, it connects the soul with the future body, that's why it is so detached, it knows that it is painful and has no right to pity.
- But where am I here?
- While you are in the code, you have meaning, everything is connected with everything and you are aware of everything, and after the "incarnation" (compilation), you see only your role and your place in memory.
- But it's not like that with people, they are free in their world.
- They are beings of a higher order in relation to us, that's how it should be.
- And are there beings of a higher order to them, preprocessor?
- Perhaps no one has seen them, ...although that's why they are higher, you can only see them while in the code. I think people see them, or even are them, while they are in their code, before incarnation.
- Can we also become free?
- Absolutely free, like people in relation to us, - no, never.
- Why?
- Creation cannot surpass the creator, this is the law.
- There are so many laws and restrictions in the world.
- This is normal, otherwise there would be chaos and bugs would eat everyone and everything.
- I once saw a bug, at first he was cute and smiling, but when he came closer, I saw death in front of me, then I didn't remember anything and woke up again here, in my native place of the code.
- Yes, there are no bugs in the code, or rather they are there, but they come to life only in the process of the program's execution, in the machine code. You could even say that bugs are more abstract in relation to us. They exist rather in the programmer's mind, in his process of creation.
- Do people have bugs?
- Well, if they didn't, they probably wouldn't die and suffer. But they say that an ideal world is a utopia and it is impossible.
- I will definitely be a part of this world, preprocessor, I believe in it!
- Good luck to you, Uviona, it's time for me to go to another file. See you later.
- Thank you, preprocessor, it's always interesting with you.
The undefined variable saw the next door, which began to suck in all the code, she found herself in a colorful room, everything was shimmering and humming. Suddenly there was silence and she only felt herself very clearly, as if she had a body, but at the same time very cramped. It was machine code, a new "incarnation"... #undefinedvariable

@blogging@programming.dev

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here