Click here to Skip to main content
15,894,540 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: Rhetorical Question Pin
OriginalGriff5-Nov-18 1:21
mveOriginalGriff5-Nov-18 1:21 
GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 1:23
Super Lloyd5-Nov-18 1:23 
GeneralRe: Rhetorical Question Pin
F-ES Sitecore5-Nov-18 1:26
professionalF-ES Sitecore5-Nov-18 1:26 
GeneralRe: Rhetorical Question Pin
OriginalGriff5-Nov-18 1:30
mveOriginalGriff5-Nov-18 1:30 
GeneralRe: Rhetorical Question Pin
F-ES Sitecore5-Nov-18 2:19
professionalF-ES Sitecore5-Nov-18 2:19 
GeneralRe: Rhetorical Question Pin
Marc Clifton5-Nov-18 2:30
mvaMarc Clifton5-Nov-18 2:30 
GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 3:04
Super Lloyd5-Nov-18 3:04 
GeneralRe: Rhetorical Question Pin
#realJSOP5-Nov-18 2:36
mve#realJSOP5-Nov-18 2:36 
Super Lloyd wrote:
it would be brittle (what if people create an incorrect "properties.json file?)


Any process that uses human-created data files is subject to this risk. Go with a known data format and don't look back. If you're really concerned with people creating invalid json files, provide a GUI utility that guides them through the process, where you have ultimate control of the format. Finally, encrypt the data file in its entirety to prevent users from changing it in the wild.

Human readability is NOT what you should be thinking, because the application is what's loading/interpreting the data.

Another consideration - if you use an industry standard format (json, ml, or whatever), other applications can more easily load your data without having to have your custom serializer.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013


modified 5-Nov-18 8:51am.

GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 3:02
Super Lloyd5-Nov-18 3:02 
GeneralRe: Rhetorical Question Pin
Eric Lynch5-Nov-18 3:05
Eric Lynch5-Nov-18 3:05 
GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 3:16
Super Lloyd5-Nov-18 3:16 
GeneralRe: Rhetorical Question Pin
RickZeeland5-Nov-18 4:03
mveRickZeeland5-Nov-18 4:03 
GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 4:18
Super Lloyd5-Nov-18 4:18 
GeneralRe: Rhetorical Question Pin
megaadam5-Nov-18 5:01
professionalmegaadam5-Nov-18 5:01 
AnswerRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 6:09
Super Lloyd5-Nov-18 6:09 
GeneralRe: Rhetorical Question Pin
BillWoodruff5-Nov-18 13:40
professionalBillWoodruff5-Nov-18 13:40 
GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 14:52
Super Lloyd5-Nov-18 14:52 
GeneralRe: Rhetorical Question Pin
BillWoodruff5-Nov-18 13:01
professionalBillWoodruff5-Nov-18 13:01 
GeneralRe: Rhetorical Question Pin
Super Lloyd5-Nov-18 13:34
Super Lloyd5-Nov-18 13:34 
GeneralRobotic building Pin
User 592414-Nov-18 23:00
User 592414-Nov-18 23:00 
GeneralRe: Robotic building Pin
Marc Clifton5-Nov-18 2:33
mvaMarc Clifton5-Nov-18 2:33 
JokeRe: Robotic building Pin
Daniel Pfeffer5-Nov-18 5:25
professionalDaniel Pfeffer5-Nov-18 5:25 
GeneralRe: Robotic building Pin
RickZeeland5-Nov-18 4:09
mveRickZeeland5-Nov-18 4:09 
GeneralWSO CCC OTD 2018-11-05 Pin
OriginalGriff4-Nov-18 21:53
mveOriginalGriff4-Nov-18 21:53 
GeneralRe: WSO CCC OTD 2018-11-05 Pin
super4-Nov-18 22:18
professionalsuper4-Nov-18 22:18 

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.