Click here to Skip to main content
14,271,663 members

.NET Framework

 
QuestionTesting Practices Pin
AnalogNerd5-Dec-12 4:44
memberAnalogNerd5-Dec-12 4:44 
AnswerRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 5:36
mveEddy Vluggen5-Dec-12 5:36 
GeneralRe: Testing Practices Pin
AnalogNerd5-Dec-12 5:45
memberAnalogNerd5-Dec-12 5:45 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 5:53
mveEddy Vluggen5-Dec-12 5:53 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 6:29
mveDave Kreskowiak5-Dec-12 6:29 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 6:26
mveDave Kreskowiak5-Dec-12 6:26 
GeneralRe: Testing Practices Pin
Eddy Vluggen5-Dec-12 6:34
mveEddy Vluggen5-Dec-12 6:34 
GeneralRe: Testing Practices Pin
Dave Kreskowiak5-Dec-12 9:55
mveDave Kreskowiak5-Dec-12 9:55 
Eddy Vluggen wrote:
The parameter only accepts strings, making this test superfluous.


You would check for mull before trying to work with the string?? I don't see how that's superfluous.


Eddy Vluggen wrote:
Personally, I don't care for "whitespace"; if a user wants to store three
spaces, a tab and a newline, then that's what gets stored. The only place where
you "might" want to check it, is when validating input.


User's aren't the only source of input that makes your code go "WTE!?" Foreign systems, poor XML files, non-normallized data in a database you inherit, corruption from a poor communications channel, ... the list goes on. You can get a blank or string formatted in some way your code doesn't expect from any number of sources. I was always taught that a method should be written to defend itself against pontentially bad data.

GeneralRe: Testing Practices Pin
Eddy Vluggen6-Dec-12 0:08
mveEddy Vluggen6-Dec-12 0:08 
QuestionHow to make a list view and gallerie view on a product page list on some e-commerce Pin
El Dev4-Dec-12 0:19
memberEl Dev4-Dec-12 0:19 
AnswerRe: How to make a list view and gallerie view on a product page list on some e-commerce Pin
Eddy Vluggen4-Dec-12 0:37
mveEddy Vluggen4-Dec-12 0:37 
Questionframework 2.0 and win98 Pin
caradri3-Dec-12 22:37
membercaradri3-Dec-12 22:37 
AnswerRe: framework 2.0 and win98 Pin
Richard MacCutchan3-Dec-12 23:01
protectorRichard MacCutchan3-Dec-12 23:01 
AnswerRe: framework 2.0 and win98 Pin
Eddy Vluggen3-Dec-12 23:04
mveEddy Vluggen3-Dec-12 23:04 
AnswerRe: framework 2.0 and win98 Pin
Pete O'Hanlon3-Dec-12 23:07
protectorPete O'Hanlon3-Dec-12 23:07 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen3-Dec-12 23:31
mveEddy Vluggen3-Dec-12 23:31 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon3-Dec-12 23:38
protectorPete O'Hanlon3-Dec-12 23:38 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen3-Dec-12 23:43
mveEddy Vluggen3-Dec-12 23:43 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon3-Dec-12 23:41
protectorPete O'Hanlon3-Dec-12 23:41 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 0:25
membercaradri4-Dec-12 0:25 
GeneralRe: framework 2.0 and win98 Pin
Dave Kreskowiak4-Dec-12 4:11
mveDave Kreskowiak4-Dec-12 4:11 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 0:23
membercaradri4-Dec-12 0:23 
GeneralRe: framework 2.0 and win98 Pin
Eddy Vluggen4-Dec-12 0:36
mveEddy Vluggen4-Dec-12 0:36 
GeneralRe: framework 2.0 and win98 Pin
caradri4-Dec-12 1:52
membercaradri4-Dec-12 1:52 
GeneralRe: framework 2.0 and win98 Pin
Pete O'Hanlon4-Dec-12 2:11
protectorPete O'Hanlon4-Dec-12 2: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.