Due to the huge “geek-factor” associated with my blog, you can expect many snippets of code. I found this awesome plugin called wp-syntax that actually formats it and allows you to see colored syntax!
I love colored syntax when coding. Why? Aside from making it easier to read, its actually a VERY useful tool! Too many times, I’ve been able to fix my code before compiling/running, because the syntax I wrote wasn’t colored. I’d think to myself,
Wait a minute, how come this variable isn’t getting colored? I must of made a mistake somewhere!
Then I’m able to fix it right way. So awesome. Now, here’s hello world in many languages… with color support!
Python
print "hello world!"
Java
System.out.println("hello world!");
Javascript
alert("hello world!");
Visual Basic
MsgBox("hello world!")C
printf("hello world!");
C#
System.Console.WriteLine("hello world!");
Scheme (one of my personal favourites!)
(display "hello world!")
PHP
<?php echo "Hello, world!"; ?>
So awesome..


1 User Commented In This Post
Subscribe To This Post Comment Rss Or TrackBack URL