“◆中学・高校レベル(High School/Jr. High)
10 PRINT "HELLO WORLD" 20 END* * *
◆大学1年生(First year in College)
program Hello(input, output) begin writeln('Hello World') end.* * *
◆なりたてハッカー(Apprentice Hacker)
#!/usr/local/bin/perl $msg="Hello, world.\n"; if ($#ARGV >= 0) { while(defined($arg=shift(@ARGV))) { $outfilename = $arg; open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n"; print (FILE $msg); close(FILE) || die "Can't close $arg: $!\n"; } } else { print ($msg); } 1;* * *
◆だいぶ慣れてきたハッカー(Experienced Hacker)
#include <stdio.h> #include <string.h> #define S "Hello, World\n" main(){exit(printf(S) == strlen(S) ? 0 : 1);}* * *
◆年季の入ったハッカー(Seasoned Hacker)
% cc -o a.out ~/src/misc/hw/hw.c % a.out Hello, world.* * *
◆カリスマハッカー(Guru Hacker)
% cat Hello, world.”