C++
C
Java
Coding is the action of writing computer code. The images shown are code sources for a computer program in different languages. These pieces of code are the very first ones that most programmers use to learn to code in different languages, in our case C/C++ and Java. The code’s only purpose is to prompt “Hello world, I’m a C/C++/Java program” on the screen. This code is very short but at the same time it’s meaningful, saying so much with so little. This is poetry because it makes me think about a lifespan. It is like a creature is born with the only purpose of greeting us and introducing itself. This creature is only alive for a fraction of a second; it is a lifetime, lived out in a second, and during that time it manages to reach its goal. It’s conscious of itself and everyone else around it.
lol, I find it kinda funny and yeah I agree with that it exist even in a fraction of a second.
ReplyDeleteIt kinda reminds me of the "foo" which goes like this:
int foo(int fooo) {
return fooo;
}
I find this very interesting because some of us never really look beyond what we are typing, other than if its for content and grammar. However, we fail to see that there is more to it than typing into a keyboard. It has become a simple task for us to type into a computer now a days, but it can slip many of our minds on how much technology has evolved!
ReplyDeleteI have never seen poetry in this type of form before, its so fascinating and puts meaning to the words "art and Technology".
ReplyDeleteThis just shows far poetry has come and also shows that art in poetry is limitless and can be used anywhere, in all aspects of the world.
This is another one I found of a story in programming code.
ReplyDeleteThis does not actually run:
int day
{
Happiness = 10;
Morning;
School;
Afternoon;
Life;
return EXIT_FAILURE;
}
void Morning(){
int time;
time = 8:45;
if(time < 8:00){
/eat cheerios
}
if(time > 8:00){
if(day != Monday){
yellout<<"CRICKEY I'm late!";
}
if(day == Monday){
sleepin = true;
}
}
}
void School(){
if(sleepin == true){
EnglishHomework ++;
Happiness --;
}
else {
/Boredom
Happiness --;
}
Cout<<"Skip math? [y/n]";
cin>>"y";
/fail math
if(mathfail == true){
/Sumemr School application
Happiness - 5;
}
}
void Afternoon(){
/Eat pizza
/walk in park with girlfriend
if(breath smells like pizza == true){
reject.kiss;
/get dummped
happiness - 4;
}
}
void life(){
if(Happiness == 0)
/wrists
return EXIT_FAILURE
}
the first block is day which makes up a day which is Morning;, School;, Afternoon;, Life;
Then each block is read.
I don't think you need code experience to read this.(Don't know, maybe)
I think it ends on a depressing note. "/wrists" which is read slash writs (Because of the choices made)
Hi privatpoem,
Deletea code like this is one the reasons why I think coding/programming is poetry :-) thanks for share it with us. Also this reminds a t-shirt that I want to make with this code:
import java.io.*;
public class Hello{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String answer = new String();
do{
System.out.println("Hello!");
answer = br.readLine();
}while(!answer.equalsIgnoreCase("hello") && !answer.equalsIgnoreCase("hi"));
System.out.println("Have a good day");
}
}
this is a real program that is going to keep saying "Hello!" in an infinite loop until some one greet it. I teach my code how to be nice ;-)
This is pretty cool. It also makes me think about a lifespan of a human being and how intricate the human body really is. Especially as the world is becoming extremely reliant on technology and computer advancements, this type of poetry makes me think about the future of the human specie in a somewhat robotic form.
ReplyDeleteAlthough the coding is quite old, you never really get the chance to see and think about the old computerized days where you would have had to literally enter these codes to do any task or write any word on the computer.
Cool stuff!
I think this is interesting. Imagine living for only a fraction of a second. It also reminds me of insects and thier short lifespans of about a year. Or cells in out bodies which live only a week.
ReplyDeletePoetry can be found anywhere and this coding is a great example.
great stuff!
Now that you mention cells, I realize another thing. Programs works in the same way. Each program is made of many many sub-program and each sub-program has its own lifespan and its own function inside the bigger program. As cells, you can study a sub-program independently from the rest. So with this we have given another reason way programs are alive :-)
DeleteThis is very interesting i must say, i like how you mentioned a creature coming into existence and for that brief moment that its alive it just wants to establish itself and greet the world. Some thought provoking stuff you have there. Coding is pretty interesting, i took a computer science course in high school and we had to use a lot of coding and things like that and i always thought it was just lackluster but it seems that it can be used in more ways than one, thank you for sharing.
ReplyDeleteThis is really cool I like how you made the code seem like poem, I find that really different. Right now i am currently trying to learn JavaScript so this would be great for me to practice with, if you don't mind of course?
ReplyDelete