Hello World!

‘Hello World!’ the traditional first program* exercise faced by students taking a programming class seems like a good place to initiate the blog for my ePortfolio.

*”As part of the research for a book I was writing about the Alice programming environment, I corresponded with both Prof. Kernighan at Princeton and Martin Richards at Cambridge (when I was teaching a seminar there in the 1990’s). They helped me track down the first documented use of code to print the message “Hello, World!” Brian Kernighan remembered writing the code for part of the I/O section of the BCPL manual. Martin Richards — who seems to have a treasure trove of notes, old documents, etc. — found the manual and confirmed that the this was the original appearance of the program. The code was used for early testing of the C compiler and made its way into Kernighan and Ritchie’s book.” ~ Charles W. Herbert, Computer Science and Computer Information Systems at Community College of Philadelphia

As a former software developer (in my day we were simply programmers or coders), I have a twisted affection for ‘Obfuscated Code‘… or perhaps by enjoyment of all things ‘Rube Goldberg‘ … Anyway in that vain**:

     JavaScript:
         var letters = ["H","e","l","l","o"," ","W","o","r","l","d","!"];var txt="";
         for (var i = 0; i < 12; i++) { txt = txt+letters[i];} print(txt);

** A vein is a blood vessel or a distinctive style.
Vain means self admiring or futile. (The term in vain means without success).
A vane is a stabilizing fin or blade.
From: www.grammar-monster.com 8/4/2014

Leave a Reply

Your email address will not be published. Required fields are marked *