62 points · by pabs3 · 5y ago · 49 comments
* (as long as what you really need is technical writing, and you don't need that magical unicorn of a complex DTD componentized content reusing).
It's also open source, which helps with integrating it in any DevOps workflow you want to use for your documentation.
Honestly, I’m amazed that this fit anyone’s development workflow in 2018 - when the last commit was supplied.
Get [↓] http://trinitydesktop.org ?
Play with the presets or settings thereof of the contained
[ø] https://github.com/KDE/qtcurve
until you arrive at something similar to
[¹] https://www.pling.com/s/Trinity/p/1100735 &
[²] https://www.pling.com/s/Trinity/p/1100506 &
[³] https://www.pling.com/s/Trinity/p/1100829 &
breathe out, relax!
XML had gained complexity: schemas, namespaces, validation, translation, and then was extended to cover RPC behaviour via SOAP, WSDL, etc, with some annoyances and papercuts around escaping things and using CDATA.
At a certain point the onboarding requirement for a new engineer who just wanted to exchange some data between two systems or write a config file was no longer "open a text file and write what you want" but "learn all of this tooling and perform this incantation".
Then, when you factor in that JavaScript was becoming the default for everything on the web and JQuery had given the world a better interface to XmlHttpRequest... but that you had to then translate client-side the XML into JS objects...
At this point convenience won.
Just write the config file in JSON, send data as JSON over HTTP, have the browser just receive native JavaScript objects.
Of course, time passes and now we're slowly adding in all of the complexity again as it turns out it's needed at a certain scale to be sure that systems work as intended.
YAML emerged when managing JSON configs via build tools become troublesome (trailing commas within config files for arrays built via Puppet, etc). YAML solved that, and made it also a little easier to read (for some other compromises, like now being whitespace sensitive).
Perhaps something else more convenient is just around the corner and we can do it all again.
If you were to build a competitor to XML/JSON/YAML today... what would it look like?
Text formats will evolve to the point of being too complex to use. Those that can will be replaced by those that cannot.
As an RPC protocol, JSON is lighter weight and maps more directly to programming structures.
As a config file format, YAML is a bit terser. Especially since most configurations are just key/value pairs. Though there's a growing backlash against YAML so I wouldn't count on this lasting.
As a document format... XML still wins? HTML is still (basically) XML. Lots of business data interchange is still XML. JSON is terrible as a document format, and YAML isn't even in the running.
I used XML as a input file format for a scientific application and I still can't see how I can store same data in a YAML file, with inherent verification capabilities and with some flexibility for reordering blocks.
For smaller stuff, YAML is fine, for transient over the wire data exchange, JSON is fine, but for heavy lifting, XML is indispensable IME.
JSON os just a bag of stuff and there is no grand json standard body to develop common schema systems and other complex and rarely well fitting pile-on layers that devs would be pressured to use
Honestly I never understood how XML became popular in the first place. The problem it tries to solve is not very hard, and it doesn't solve that problem very well.
For other purposes like configuration files or rpc, the element/attribute distinction is superfluous and just lead to overly verbose syntax.
Unfortunately the hype cycle is such that when a technology becomes fashionable it becomes used even in contexts where it is not appropriate. This in turn leads to a backlash against the overall technology, not just against inappropriate use of it.
In my experience, it's a headache to handle namespaces in XML, e.g. when trying to refer to tag names in an XPath query.
That is one example of how XML goes beyond S-expressions. I still don't think it's a particularly hard problem.
I checked a year ago or 2 on the plug-in situation and it sorta looked like a abandoned wasteland. IntelliJ seems to have absorbed most Java devs, while new tools such as VScode are the new go to for customization.
It even feels like eclipse foundation was abandoning eclipse a bit, as it’s pushing its web based tools…
Incremental compiler, ability to do mix language development and debugging for JNI, shortcuts I don't need both hands, automatically displaying errors with me having to trigger inspections, javadoc displayed without having to configure it, my laptop does sound like a propeller plane, ...
I'm not a fan of Java either, but age of origin doesn't mean anything about a programming language. Python in concept is older than Java and is still considered modern.