Click here to Skip to main content
15,921,454 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: how not to check a login Pin
icewolf_snowfire8-Jul-09 15:41
icewolf_snowfire8-Jul-09 15:41 
GeneralRe: how not to check a login Pin
Lutosław9-Jul-09 4:04
Lutosław9-Jul-09 4:04 
GeneralRe: how not to check a login Pin
leppie12-Jul-09 2:15
leppie12-Jul-09 2:15 
GeneralRe: how not to check a login Pin
icewolf_snowfire14-Jul-09 9:32
icewolf_snowfire14-Jul-09 9:32 
GeneralRe: how not to check a login Pin
Lutosław17-Jul-09 10:06
Lutosław17-Jul-09 10:06 
GeneralRe: how not to check a login Pin
MarkB77716-Jul-09 20:20
MarkB77716-Jul-09 20:20 
GeneralRe: how not to check a login Pin
supercat98-Jul-09 13:19
supercat98-Jul-09 13:19 
GeneralRe: how not to check a login Pin
Russell Jones13-Jul-09 5:03
Russell Jones13-Jul-09 5:03 
GeneralRe: how not to check a login Pin
supercat914-Jul-09 5:45
supercat914-Jul-09 5:45 
GeneralRe: how not to check a login Pin
Jammer13-Jul-09 6:34
Jammer13-Jul-09 6:34 
GeneralRe: how not to check a login Pin
PaPaSEK13-Jul-09 19:12
PaPaSEK13-Jul-09 19:12 
GeneralRe: how not to check a login Pin
Tristan Rhodes16-Jul-09 1:58
Tristan Rhodes16-Jul-09 1:58 
GeneralRe: how not to check a login Pin
Vozzie25-Aug-09 3:35
Vozzie25-Aug-09 3:35 
GeneralWell verified code Pin
Paulo Zemek7-Jul-09 10:09
Paulo Zemek7-Jul-09 10:09 
GeneralRe: Well verified code Pin
Luc Pattyn7-Jul-09 12:14
sitebuilderLuc Pattyn7-Jul-09 12:14 
GeneralRe: Well verified code Pin
leppie8-Jul-09 3:00
leppie8-Jul-09 3:00 
GeneralRe: Well verified code Pin
Super Lloyd8-Jul-09 4:02
Super Lloyd8-Jul-09 4:02 
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

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.