Click here to Skip to main content
15,902,032 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: Austin Danger Powers Pin
Bernhard Hiller11-Apr-11 21:29
Bernhard Hiller11-Apr-11 21:29 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev12-Apr-11 10:06
protectorAspDotNetDev12-Apr-11 10:06 
GeneralRe: Austin Danger Powers Pin
CHLane13-Apr-11 4:37
CHLane13-Apr-11 4:37 
GeneralRe: Austin Danger Powers Pin
Blake Miller6-May-11 7:24
Blake Miller6-May-11 7:24 
GeneralRe: Austin Danger Powers Pin
Samuel Cragg12-Apr-11 10:10
Samuel Cragg12-Apr-11 10:10 
GeneralRe: Austin Danger Powers Pin
Fabio Franco13-Apr-11 4:28
professionalFabio Franco13-Apr-11 4:28 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev13-Apr-11 5:02
protectorAspDotNetDev13-Apr-11 5:02 
GeneralRe: Austin Danger Powers Pin
Fabio Franco13-Apr-11 6:08
professionalFabio Franco13-Apr-11 6:08 
AspDotNetDev wrote:
companies can send you emails and address you by your first name


someString.Split(' ')[0];



AspDotNetDev wrote:
let the user know that all portions of the name must be entered


lblName.Text = "Full Name:"


I know that name splitting has it's usefulness, like displaying in formats like "Last, First Name" the way the user wants, but I believe single field names benefits outweighs by far the benefits of multiple field names. Not only on the functional perspective, but also on development. It's much simpler to have only one column on the database to hold a name.

A better solution would indeed be a toggle, but then, that adds overhead to development.
GeneralRe: Austin Danger Powers Pin
AspDotNetDev13-Apr-11 6:56
protectorAspDotNetDev13-Apr-11 6:56 
GeneralRe: Austin Danger Powers Pin
Fabio Franco13-Apr-11 7:19
professionalFabio Franco13-Apr-11 7:19 
GeneralRe: Austin Danger Powers Pin
BobJanova15-Apr-11 3:19
BobJanova15-Apr-11 3:19 
JokeRe: Austin Danger Powers Pin
HaBiX20-Apr-11 0:56
HaBiX20-Apr-11 0:56 
GeneralRe: Austin Danger Powers Pin
musefan12-Apr-11 2:48
musefan12-Apr-11 2:48 
QuestionRe: Austin Danger Powers Pin
Paladin200012-Apr-11 4:37
Paladin200012-Apr-11 4:37 
AnswerRe: Austin Danger Powers Pin
AspDotNetDev12-Apr-11 6:31
protectorAspDotNetDev12-Apr-11 6:31 
GeneralRe: Austin Danger Powers Pin
Paladin200012-Apr-11 9:35
Paladin200012-Apr-11 9:35 
GeneralRe: Austin Danger Powers Pin
G-Tek13-Apr-11 3:33
G-Tek13-Apr-11 3:33 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev13-Apr-11 3:38
protectorAspDotNetDev13-Apr-11 3:38 
GeneralRe: Austin Danger Powers Pin
G-Tek13-Apr-11 3:45
G-Tek13-Apr-11 3:45 
GeneralRe: Austin Danger Powers Pin
AspDotNetDev13-Apr-11 3:50
protectorAspDotNetDev13-Apr-11 3:50 
GeneralRe: Austin Danger Powers Pin
G-Tek13-Apr-11 5:27
G-Tek13-Apr-11 5:27 
GeneralRe: Austin Danger Powers Pin
Paladin200013-Apr-11 6:32
Paladin200013-Apr-11 6:32 
GeneralRe: Austin Danger Powers Pin
Paladin200013-Apr-11 4:13
Paladin200013-Apr-11 4:13 
GeneralRe: Austin Danger Powers Pin
G-Tek13-Apr-11 4:29
G-Tek13-Apr-11 4:29 
AnswerRe: Austin Danger Powers Pin
DragonsRightWing22-Apr-11 7:16
DragonsRightWing22-Apr-11 7:16 

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.