WiredWX Christian Hobby Weather Tools
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WiredWX Christian Hobby Weather ToolsLog in

 


descriptionCode fun 2017 Edition EmptyCode fun 2017 Edition

more_horiz
This thread will be used to post codes that might be hilarious, fun, educational but humorous, or any other form of fun you may consider.



Allow me to do the first one from JavaScript:

Code:


var troubleshootCoders = function(person){
      if (person.canCode){
          person.havingFun = true;
          return true;
      }
      return false;
}


Source: CodeFights Cheers Mate

Last edited by Dr Jay on 20th January 2017, 8:22 pm; edited 1 time in total

descriptionCode fun 2017 Edition EmptyRe: Code fun 2017 Edition

more_horiz
@Samantha - Thought you might appreciate this topic. Smile...

descriptionCode fun 2017 Edition EmptyRe: Code fun 2017 Edition

more_horiz
Matrix Batch File

Code:

@echo off
color 2
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

............................................................................................

FreeBooter
Code fun 2017 Edition 1363

Co-Administrator

descriptionCode fun 2017 Edition EmptyRe: Code fun 2017 Edition

more_horiz
Not code, but a comment from some code:

Code:

// 
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 42
//

descriptionCode fun 2017 Edition EmptyRe: Code fun 2017 Edition

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum