Thursday, 22 November 2012

Hello world

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.

Thursday, 1 November 2012

Programming & Poetry NOT Programing Vs Poetry

In class we have learned about illustrations (and all of its possible meanings), different techniques on how to manipulate text in order to change how a poem appears and how a sentence might have different meanings according to the reader. This principle can be applied to programing as well.  Though it is understandable how some may believe that programming and poetry are at opposite ends of the spectrum,I believe that we can bring them much closer. For instance in programming and in poetry  the writer must take care of syntax, language and structure otherwise the program or poem will not work.

As a programmer I feel that seeing a new way (more efficient and more effective) to code a program is like poetry, because there is a hidden meaning in the same way there is always a better way to code a program. To code, one needs creativity, to think out of the box one needs EXTRA creativity and most people would agree the same applies when one writes a poem.

During class I thought that I was the only person to think about these similarities and so I felt a little confused and doubtful about it because Programming and Poetry seem so different, making the chances of me being wrong very likely. However, Marilyn suggested a couple of times for me to research about this idea which I did and shall talk about further in my next post :-p