3 ms·
Looking through some of this code is a painful reminder of the time when lots of people thought XML was a good idea. <math result="sf.spec.sbs.numberofjobs" op
by oofbey 4y ago
Looking through some of this code is a painful reminder of the time when lots of people thought XML was a good idea.
<math result="sf.spec.sbs.numberofjobs" operand1="${env.NUMBER_OF_PROCESSORS}" operation="" operand2="2" datatype="int"/>
instead of
numberofjobs = NUMBER_OF_PROCESSORS 2
Talk about a headwind to productivity.
- seclorum_wien 4y agoI cringe at the places I've used XML for things like declarative programming, its just too obnoxious to think about. However, as someone who is currently pushing bytecode on the wire in place of such things, because reasons, I can only tell you the madness is just a toolchain away.
- TedDoesntTalk 4y agoThe example he gives may just be a config file. XML was very popular for holding configuration, replacing the ancient property name/value pair system.
- markmark 4y agoEvery time I see the templated yaml used widely in devops (see helm charts for example), I'm reminded of this sort of XML used for declarative programming. It was terrible then and it's terrible now.