This is a really geeky page. If you can read the code, you might get a laugh.
BASIC
10 print "Home" 20 print "Sweet" 30 goto 10
JAVASCRIPT
while (G_W_Bush[IQ_rating] < 60) {
document.print ('Anyone can be President! Anyone.');
}
LISP
;This will loop forever! lolisp!
(loop
(if (My_brother_is_better_than_me_at_hockey) (return))
(write ("hahaha "))
)
FORTRAN 77/90
! Don't you just love spaghetti code? program SPAGHETTI_CODE 10 LOGICAL :: spaghetti_is_finished = .FALSE. 15 GOTO 74 20 25 spaghetti_is_finished = .TRUE. 30 spaghetti_is_finished = .FALSE. 34 if (spaghetti_is_finished .EQ. .TRUE.) then 37 stop 39 end if 59 GOTO 15 74 PRINT "mmm wet, sloppy, slimy, hot, steamy spaghetti" 77 GOTO 25 90 end program SPAGHETTI_CODE
PHP
<?php
//What do the letters PHP stand for?
//Let's find out!
$theAnswer = define_and_check_PHP_definition("PHP");
function define_and_check_PHP_definition($d){
if (substr_count($d, "PHP") != 0) {
substr_replace($d, 'PHP Hypertext Preprocessor');
define_and_check_PHP_definition($d);
}
else
return $d;
}
?>