Thursday, March 11, 2010

Perl

print "Hello, World!\n";

Dissection:
print - A command.  Telling the program that I want it to display some text.
" - Bookends the text I want displayed.
Hello, World! - The exact text I want my program to show the user.
\n - Carriage return.  A blank line will appear after this print command is performed.
; - The end of every code thought.  The period of Perl.

First day learning.  Always a little bumpy.  
We all live in the aftermath of idols.  Mine has been comfort and laziness.  I didn't learn to code eleven years ago for the same reason I didn't get braces; I couldn't see past the short-term discomfort.  I regret both decisions now.  
But at least it didn't take me another eleven years to begin. 

- J

1 comment: