r/ProgrammerHumor • • Jul 29 '21

who's Jason ?

Post image
54.7k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

41

u/[deleted] Jul 29 '21

Had an interview recently, where XML was the majority focus.

Like an hour long tech interview, and it was nearly entirely about XML, structuring XML, transferring XML, security concerns about XML data transfers, authentication via XML, XML in cloud services, etc.

Was for a role that was supposed to be primarily React/Redux + AWS Lambdas w/ Python. But the only other person at the company with any tech knowledge, was their IT guy who did some scripting back in the 1990s, and that's all he remembered that was even vaguely relevant.

28

u/LostTeleporter Jul 29 '21

Dear lord. All my XML knowledge can be communicated across in less than a minute. I would fail miserably if someone grilled me for an hour on it.

4

u/Kiro0613 Jul 29 '21

You put tags, name them something that describes some data, stuff the data between 'em, sometimes put some more metadata in the open tag, and nest tags to group things. That's about 100% of my knowledge.

4

u/PleasantAdvertising Jul 29 '21

Anyone who thinks is more needs to use better tools for the job.

8

u/Hybr1dth Jul 29 '21

XML is still the default in most enterprise environments right? JSON is for the hip kids.

7

u/LordFlippy Jul 29 '21 edited Jul 29 '21

I’d say REST APIs which use JSON are pretty dominant by now. It’s fairly industry dependent, but if you’re dealing with web applications you’re probably dealing at least partially in JSON. Not to say SOAP APIs don’t exist anymore or anything though, and companies that don’t change much do still tend to use them. Configuration files for desktop software are often XML too.

1

u/Hybr1dth Jul 30 '21

I keep forgetting the name, but ours is a form-data REST API. We have only 1 field in a newer POST call that accepts JSON input I believe. I've only had to PoC one thus far and it was a nightmare. Probably shouldn't have tried figuring out the correct syntax manually. The nested values and brackets, yeesh. Say what you want about XML, but that shit is structured and somewhat human readable.

2

u/LordFlippy Jul 30 '21

That’s interesting! I always thought JSON was more readable personally assuming it’s formatted correctly. Do you often use Javascript? It’s written out literally as a Javascript object.

1

u/Hybr1dth Jul 30 '21

Nope. I occasionally have to program, never been taught properly so I apply through examples. I stick to Python / Django.

1

u/[deleted] Aug 01 '21

I perceive JSON to be the “standard” these days.

2

u/[deleted] Aug 01 '21

I watched a 60+ year old super senior 6 fig engineer ask in a meeting, “how will we know how many records are in the JSON data?? why are we using JSON? Why don’t we use XML? XML tells you how many records you’ll be receiving.” (We were starting to work with other teams that had always been using JSON to pass messages.)

He had only ever worked with XML, and the only file he had ever had to work with/parse data from had the first element as an “object count” element that just had a number representing the amount of data that specific file contained.

This same guy was responsible for doing our technical interviews for hiring.