Click here to Skip to main content
15,886,919 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: Declarative software, please. Pin
Peter Shaw17-Jul-23 5:01
professionalPeter Shaw17-Jul-23 5:01 
GeneralRe: Declarative software, please. Pin
honey the codewitch17-Jul-23 5:28
mvahoney the codewitch17-Jul-23 5:28 
GeneralRe: Declarative software, please. Pin
Peter Shaw17-Jul-23 10:03
professionalPeter Shaw17-Jul-23 10:03 
GeneralRe: Declarative software, please. Pin
honey the codewitch17-Jul-23 17:17
mvahoney the codewitch17-Jul-23 17:17 
GeneralRe: Declarative software, please. Pin
Peter Shaw19-Jul-23 5:25
professionalPeter Shaw19-Jul-23 5:25 
GeneralRe: Declarative software, please. Pin
honey the codewitch19-Jul-23 5:31
mvahoney the codewitch19-Jul-23 5:31 
GeneralRe: Declarative software, please. Pin
Peter Shaw19-Jul-23 5:39
professionalPeter Shaw19-Jul-23 5:39 
GeneralRe: Declarative software, please. Pin
David On Life17-Jul-23 18:12
David On Life17-Jul-23 18:12 
FYI, I agree on the issues with opaque file formats. They are generally impossible to use with any kind of change control system and hard to use with version control. We lose the ability to do bulk find/replace or just find references across files/objects. We lose the ability to do intelligent risk management and working at scale becomes exceedingly difficult. (How do you merge changes when two developers both change the same definition?)

People correctly assume these systems make beginning programming/developing easier to learn, but often don't understand how they're making large scale, complex programming harder (ever tried to debug 100 pages of ladder logic?)

Note that even declarative programming output as text has its limits. Data is often stored in (unsorted) dictionaries (hash tables) then persisted to a file in an (effectively) random order, this makes identifying significant changes much harder to find (it's particularly bad when some values are recomputed each time, and thus create thousands of lines of meaningless changes wrapping around real changes and making them hard to find).

JSON is often the format of choice for this type of data. I like JSON; however, it has its limits as a programming language. While generally lighter weight than XML it can still be hard to follow for large files and lacks comments (although JSONC and most JSON parsers now support comments, when enabled). Where JSON falls down is in the need to quote everything. That's where I've started to prefer YAML, which I find easier to read and write, mostly because of the reduced quoting requirements and simplified syntax. That's especially true for embedded scripting which can be done in YAML just by indenting (as opposed to JSON which requires each line of script be quoted and special characters have to be escaped). [I particularly became a YAML fan once I realized it's a superset of JSON, so I can take my existing JSON data structures, drop them into a YAML file and it just works, and I don't have to maintain both a JSON and YAML parser).

GeneralHmmm, Win 11 update seems to have broken something Pin
glennPattonWork316-Jul-23 1:06
professionalglennPattonWork316-Jul-23 1:06 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Daniel Pfeffer16-Jul-23 1:22
professionalDaniel Pfeffer16-Jul-23 1:22 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
TNCaver17-Jul-23 10:49
TNCaver17-Jul-23 10:49 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Slacker00716-Jul-23 1:31
professionalSlacker00716-Jul-23 1:31 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
glennPattonWork316-Jul-23 1:38
professionalglennPattonWork316-Jul-23 1:38 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
charlieg17-Jul-23 1:42
charlieg17-Jul-23 1:42 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Graeme_Grant16-Jul-23 1:32
mvaGraeme_Grant16-Jul-23 1:32 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Richard MacCutchan16-Jul-23 1:33
mveRichard MacCutchan16-Jul-23 1:33 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
glennPattonWork316-Jul-23 1:45
professionalglennPattonWork316-Jul-23 1:45 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Richard MacCutchan16-Jul-23 1:58
mveRichard MacCutchan16-Jul-23 1:58 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
glennPattonWork316-Jul-23 2:36
professionalglennPattonWork316-Jul-23 2:36 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Graeme_Grant16-Jul-23 22:04
mvaGraeme_Grant16-Jul-23 22:04 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Brisingr Aerowing16-Jul-23 8:20
professionalBrisingr Aerowing16-Jul-23 8:20 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
glennPattonWork316-Jul-23 8:53
professionalglennPattonWork316-Jul-23 8:53 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
fd975016-Jul-23 20:46
professionalfd975016-Jul-23 20:46 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
Graeme_Grant16-Jul-23 22:08
mvaGraeme_Grant16-Jul-23 22:08 
GeneralRe: Hmmm, Win 11 update seems to have broken something Pin
glennPattonWork316-Jul-23 22:51
professionalglennPattonWork316-Jul-23 22: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.