logoalt Hacker News

zephenlast Monday at 10:25 PM1 replyview on HN

> Obviously, I would never use it for data interchange (e.g. SOAP) anymore.

Well, those comments were arguing about how it is the absolute best for data interchange.

> I still use it from time to time for config files that a developer has to write.

Even back when XML was still relatively hot, I recalled thinking that it solved a problem that a lot of developers didn't have.

Because if, for example, you're writing Python or Javascript or Perl, it is dead easy to have Python or Javascript or Perl also be your configuration file language.

I don't know what language you use, but 20 years ago, I viewed XML as a Java developer's band-aid.


Replies

ern_aveyesterday at 1:41 PM

> if, for example, you're writing Python or Javascript or Perl, it is dead easy to have Python or Javascript or Perl also be your configuration file language.

Sure. Like C header files. It's the easiest option - no arguments there.

But there are considerations beyond being easy. I think there's a case to be made that a config file should be data, not code.

show 1 reply