Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 01-25-2005, 09:21 AM   #1 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Funny code

I read a few days ago a conversation between two students talking about a third student: he was some religious guy who named all his variables to names from the bible and he always returned 40. So code would look like this:
Code:
int main()
{
 for(int Jesus = 0; Jesus < God; ++Jesus)
 {
   //stuff
 };

return 40;
}
I think this was the most funny story I've ever read. If you have one, or some cunning, funny code then post!
__________________
Valmont is offline   Reply With Quote
Old 01-25-2005, 11:12 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,161
Belisarius is on a distinguished road
His return value is off by 2 . . .
__________________
GitS

Last edited by Belisarius; 01-25-2005 at 12:30 PM.
Belisarius is offline   Reply With Quote
Old 01-25-2005, 01:07 PM   #3 (permalink)
Rotkiv
Code Monkey
 
Rotkiv's Avatar
 
Join Date: Apr 2004
Location: Silicon Valley, CA
Posts: 59
Rotkiv is on a distinguished road
Send a message via AIM to Rotkiv Send a message via MSN to Rotkiv
good one belisarius.

I just thought about mine, inspired by valmonts post, If you want to explain the trinity to a Morman programmer, you could use classes as an example.

class God {
} Father, Son, Holy_ghost;


I was going to use constructors and destructors to illustrate creation and appocolypse but it wasn't theologicaly acurate as there would be one for each person.

Last edited by Rotkiv; 02-05-2005 at 11:10 PM.
Rotkiv is offline   Reply With Quote
Old 01-27-2005, 08:54 AM   #4 (permalink)
fp_unit
mike
 
Join Date: Jan 2005
Location: Ottawa, ON
Posts: 79
fp_unit is on a distinguished road
Lol
fp_unit is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco Code breaking sde Code Newbie News 0 05-21-2004 07:10 AM
Microsoft probes Windows code leak redhead Code Newbie News 0 02-13-2004 12:41 AM
Code Section? rdove Feedback 5 02-18-2003 10:04 AM


All times are GMT -8. The time now is 08:08 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting