3 ms·
About the disdain for XML among Python programmers (2005)
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- zahlman 2y agoIt's interesting to have this view into the kinds of discussions happening 20 years ago, but I don't get the impression that this makes a particularly strong argument, nor is it replying to one. I don't know that Pythonistas in 2005 were proposing "pure Python" (meaning what, exactly? Having the user write a .py file for configuration?) as an alternative to XML. Nor do I think that distaste for XML in 2005 was particularly a Python-linked phenomenon. Personally, I've always just felt that XML tends to get used for things where JSON (or a related format) would make more sense. It is true, though, that Pythonistas of that age were quite fond of comparing and contrasting Python with Java, and "enterprise" Java systems of the time certainly used quite a bit of XML (I wouldn't be surprised if they still do). The impression I got was that this was largely intended to solve problems that Python simply doesn't have. (e.g. "dependency injection" that's more dynamic - as a long-time Python user, I tend to think of "dependency injection" as pretty much a fancy term for "passing an argument to a function".)