Click here to Skip to main content
15,889,403 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Nelek17-Dec-20 9:14
protectorNelek17-Dec-20 9:14 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Stuart Dootson17-Dec-20 23:51
professionalStuart Dootson17-Dec-20 23:51 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
honey the codewitch18-Dec-20 0:37
mvahoney the codewitch18-Dec-20 0:37 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
John Stewien17-Dec-20 19:28
John Stewien17-Dec-20 19:28 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Sander Rossel17-Dec-20 11:40
professionalSander Rossel17-Dec-20 11:40 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
honey the codewitch17-Dec-20 12:55
mvahoney the codewitch17-Dec-20 12:55 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Alexander Munro17-Dec-20 20:01
Alexander Munro17-Dec-20 20:01 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Member 1330167917-Dec-20 20:22
Member 1330167917-Dec-20 20:22 
Quote:
Or you could do one that's significantly faster but skips well formedness checking during search/skip operations, which can lead to later error reporting or missed errors


As with all input to your program, you validate on reception. All the other code that uses that input after that can then assume valid input and you can choose whatever shortcuts you want to on the assumption of valid input.

Doesn't matter if the input is JSON, XML, key/value pairs from .ini files or tokens, you only validate it once on reception.
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Mehdi Gholam17-Dec-20 21:28
Mehdi Gholam17-Dec-20 21:28 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
obeobe17-Dec-20 23:26
obeobe17-Dec-20 23:26 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Member 1409260518-Dec-20 2:02
Member 1409260518-Dec-20 2:02 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
MGuerrieri18-Dec-20 2:53
professionalMGuerrieri18-Dec-20 2:53 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
honey the codewitch18-Dec-20 3:36
mvahoney the codewitch18-Dec-20 3:36 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
Mark Meuer18-Dec-20 3:42
Mark Meuer18-Dec-20 3:42 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
honey the codewitch18-Dec-20 3:43
mvahoney the codewitch18-Dec-20 3:43 
GeneralRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
PIEBALDconsult18-Dec-20 4:26
mvePIEBALDconsult18-Dec-20 4:26 
AnswerRe: I'd like to ask a question about JSON to get a feel for priorities of coders here Pin
davecasdf18-Dec-20 5:22
davecasdf18-Dec-20 5:22 
GeneralI was going to write an article about how pointers aren't confusing PinPopular
honey the codewitch17-Dec-20 2:04
mvahoney the codewitch17-Dec-20 2:04 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Kris Lantz17-Dec-20 2:17
professionalKris Lantz17-Dec-20 2:17 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Richard MacCutchan17-Dec-20 2:28
mveRichard MacCutchan17-Dec-20 2:28 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
raddevus17-Dec-20 3:19
mvaraddevus17-Dec-20 3:19 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
BryanFazekas18-Dec-20 2:07
BryanFazekas18-Dec-20 2:07 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
Kris Lantz18-Dec-20 2:54
professionalKris Lantz18-Dec-20 2:54 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
BryanFazekas18-Dec-20 4:53
BryanFazekas18-Dec-20 4:53 
GeneralRe: I was going to write an article about how pointers aren't confusing Pin
richwfowler18-Dec-20 4:49
richwfowler18-Dec-20 4:49 

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.