Click here to Skip to main content
15,887,928 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.

 
GeneralRe: Well verified code Pin
Luc Pattyn8-Jul-09 7:38
sitebuilderLuc Pattyn8-Jul-09 7:38 
GeneralRe: Well verified code Pin
Lutosław8-Jul-09 10:21
Lutosław8-Jul-09 10:21 
GeneralRe: Well verified code Pin
Super Lloyd7-Jul-09 14:24
Super Lloyd7-Jul-09 14:24 
GeneralRe: Well verified code Pin
0x3c08-Jul-09 3:50
0x3c08-Jul-09 3:50 
GeneralRe: Well verified code Pin
Super Lloyd8-Jul-09 3:59
Super Lloyd8-Jul-09 3:59 
GeneralRe: Well verified code Pin
Viral Upadhyay8-Jul-09 4:06
Viral Upadhyay8-Jul-09 4:06 
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 
Once I travled 400 miles to interview with a startup. All went well untill I was handed a pencile and a white sheet of paper and asked to write a recursive function in C# to produce a Fabbinicc sequence. Needles to say I didn't get the job. Do these people know that recursive algroythms = spigetti code?

Hey Interviewers here is an IQ test:

Penciles are for drawing as code is to?

Confused | :confused:

Hmm, the only thing important about Fabbinicci numbers and programming is that 1^n + 2^n ... + x^n has infinate solutions. And I'm not writting crypto software so it doesn't really matter.

~~~~~~~~~~~~Update~~~~~~~~~~~

  I have learned much from this thread.  Thanks to all who gave me a hard time!
  As a result of all my research and learning I created a 'Big O Analyzer'.  

Hope it helps someone other than myself.


Big O Algroythm Analyzer for .NET[^]

~~~~~~~~~~~~Update~~~~~~~~~~~

'The great advantage of recursion is that an infinite set of possible sentences, designs or other data can be defined, parsed or produced by a finite computer program.'
Reference: Wikipedia on Recursion

~~~~~~~~~~~~Update~~~~~~~~~~~

If you tried the Big O tool and were disapointed that it did not find any Big O's at all, it's been updated. At infinity point = 1000 it's about 99.9991% acurate (good as gold). You might need to use .00002% brain power to figure out what the Big O is.

~TheArch
Cool | :cool:

modified on Wednesday, July 22, 2009 4:56 AM

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 
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 

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.