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

 
GeneralWSO CCC OTD 2020-12-09 Pin
yacCarsten8-Dec-20 21:20
yacCarsten8-Dec-20 21:20 
GeneralRe: WSO CCC OTD 2020-12-09 Pin
5teveH8-Dec-20 21:39
5teveH8-Dec-20 21:39 
GeneralRe: WSO CCC OTD 2020-12-09 - Winner Pin
yacCarsten8-Dec-20 21:47
yacCarsten8-Dec-20 21:47 
GeneralRe: WSO CCC OTD 2020-12-09 - Winner Pin
5teveH9-Dec-20 0:32
5teveH9-Dec-20 0:32 
QuestionMaybe my least favorite programming task other than CRUD creation Pin
honey the codewitch8-Dec-20 16:44
mvahoney the codewitch8-Dec-20 16:44 
AnswerRe: Maybe my least favorite programming task other than CRUD creation Pin
Daniel Pfeffer8-Dec-20 19:32
professionalDaniel Pfeffer8-Dec-20 19:32 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
CodeWraith8-Dec-20 20:11
CodeWraith8-Dec-20 20:11 
AnswerRe: Maybe my least favorite programming task other than CRUD creation Pin
Fueled By Decaff9-Dec-20 1:09
Fueled By Decaff9-Dec-20 1:09 
I would say it would be difficult to get the number of brackets matching and being wrong, but not hugely unlikely, as they share a key, so manually editing could introduce that issue.

You have to ask yourself two questions:

1. What would the issue be if that error is ignored?
2. How difficult would it be to add the checking (possibly at a different pipeline stage) i.e. by pushing a boolean onto a stack when getting a [{ and pulling and checking when getting a ]}?

I would probably try and check it, but I do not know the answer to 1. and do not know how close to the hardware/timing limit adding this check would take you. Also it could be overkill for parsing something that is machine generated.

Good luck
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
honey the codewitch9-Dec-20 1:25
mvahoney the codewitch9-Dec-20 1:25 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
Fueled By Decaff9-Dec-20 3:19
Fueled By Decaff9-Dec-20 3:19 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
jsc429-Dec-20 2:51
professionaljsc429-Dec-20 2:51 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
PIEBALDconsult9-Dec-20 3:19
mvePIEBALDconsult9-Dec-20 3:19 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
honey the codewitch9-Dec-20 3:22
mvahoney the codewitch9-Dec-20 3:22 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
PIEBALDconsult9-Dec-20 3:49
mvePIEBALDconsult9-Dec-20 3:49 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
honey the codewitch9-Dec-20 3:54
mvahoney the codewitch9-Dec-20 3:54 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
PIEBALDconsult9-Dec-20 6:47
mvePIEBALDconsult9-Dec-20 6:47 
GeneralRe: Maybe my least favorite programming task other than CRUD creation Pin
honey the codewitch9-Dec-20 6:52
mvahoney the codewitch9-Dec-20 6:52 
General/dev/null as a service PinPopular
Brisingr Aerowing8-Dec-20 15:19
professionalBrisingr Aerowing8-Dec-20 15:19 
PraiseRe: /dev/null as a service Pin
Daniel Pfeffer8-Dec-20 19:31
professionalDaniel Pfeffer8-Dec-20 19:31 
GeneralRe: /dev/null as a service Pin
Johnny J.8-Dec-20 21:03
professionalJohnny J.8-Dec-20 21:03 
GeneralRe: /dev/null as a service Pin
5teveH8-Dec-20 21:30
5teveH8-Dec-20 21:30 
GeneralRe: /dev/null as a service Pin
k50549-Dec-20 3:51
mvek50549-Dec-20 3:51 
GeneralRe: /dev/null as a service Pin
5teveH9-Dec-20 4:05
5teveH9-Dec-20 4:05 
GeneralRe: /dev/null as a service Pin
BabyYoda9-Dec-20 2:57
BabyYoda9-Dec-20 2:57 
GeneralRe: /dev/null as a service Pin
Jörgen Andersson9-Dec-20 5:51
professionalJörgen Andersson9-Dec-20 5:51 

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.