Click here to Skip to main content
15,888,065 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
JokeRe: Well verified code Pin
Jeremy Tierman8-Jul-09 6:30
Jeremy Tierman8-Jul-09 6:30 
RantSith Interviewing Tactics [modified] Pin
ProtoBytes5-Jul-09 9:47
ProtoBytes5-Jul-09 9:47 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes5-Jul-09 10:27
ProtoBytes5-Jul-09 10:27 
AnswerRe: Sith Interviewing Tactics Pin
ProtoBytes5-Jul-09 10:54
ProtoBytes5-Jul-09 10:54 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes5-Jul-09 10:58
ProtoBytes5-Jul-09 10:58 
GeneralRe: Sith Interviewing Tactics Pin
harold aptroot5-Jul-09 11:11
harold aptroot5-Jul-09 11:11 
GeneralRe: Sith Interviewing Tactics Pin
Jeroen De Dauw5-Jul-09 14:14
Jeroen De Dauw5-Jul-09 14:14 
GeneralRe: Sith Interviewing Tactics Pin
0x3c05-Jul-09 20:27
0x3c05-Jul-09 20:27 
The Fibonacci sequence doesn't have that formula. It's the recurrence relationship Fn-1 + Fn-2, with seed values of F0 = 0 and F1 = 1. And it seemed to be a test of your capability to write recursive functions. You're right about one thing though - pencils and paper aren't a development environment. They might be useful for simplifying an algorithm, or brainstorming (oh, how I hate that word) ideas, but when testing how well somebody writes code, they need to be in as close to how they would develop while at the company as possible

Between the idea
And the reality
Between the motion
And the act
Falls the Shadow

GeneralRe: Sith Interviewing Tactics Pin
Fatbuddha 16-Jul-09 1:04
Fatbuddha 16-Jul-09 1:04 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes6-Jul-09 3:39
ProtoBytes6-Jul-09 3:39 
GeneralRe: Sith Interviewing Tactics Pin
Fatbuddha 16-Jul-09 5:56
Fatbuddha 16-Jul-09 5:56 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes6-Jul-09 3:16
ProtoBytes6-Jul-09 3:16 
GeneralRe: Sith Interviewing Tactics Pin
Lutosław8-Jul-09 10:18
Lutosław8-Jul-09 10:18 
GeneralRe: Sith Interviewing Tactics [modified] Pin
Super Lloyd6-Jul-09 1:03
Super Lloyd6-Jul-09 1:03 
GeneralRe: Sith Interviewing Tactics Pin
Super Lloyd6-Jul-09 1:42
Super Lloyd6-Jul-09 1:42 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes6-Jul-09 3:19
ProtoBytes6-Jul-09 3:19 
GeneralRe: Sith Interviewing Tactics Pin
Super Lloyd6-Jul-09 3:30
Super Lloyd6-Jul-09 3:30 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes6-Jul-09 3:48
ProtoBytes6-Jul-09 3:48 
GeneralRe: Sith Interviewing Tactics Pin
Super Lloyd6-Jul-09 4:04
Super Lloyd6-Jul-09 4:04 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes6-Jul-09 5:13
ProtoBytes6-Jul-09 5:13 
GeneralRe: Sith Interviewing Tactics Pin
Super Lloyd6-Jul-09 4:07
Super Lloyd6-Jul-09 4:07 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes6-Jul-09 5:17
ProtoBytes6-Jul-09 5:17 
GeneralRe: Sith Interviewing Tactics Pin
molesworth6-Jul-09 4:14
molesworth6-Jul-09 4:14 
GeneralRe: Sith Interviewing Tactics Pin
ProtoBytes18-Jul-09 5:10
ProtoBytes18-Jul-09 5:10 
GeneralRe: Sith Interviewing Tactics Pin
Super Lloyd18-Jul-09 14:11
Super Lloyd18-Jul-09 14:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.