i am a professional software developer and i don't know how to write a plain old restful api i am a total fraud lmao

@sun @gamer also book notes https://iceworks.cc/z/clkkt85770000ksuq7shtpjpu.html

funny part is he realizes that json was pointless and json at scale turns in to a shitty XML
@icedquinn @gamer Yeah XML is better imo but it mostly lost outside enterprise.
Follow

@sun @icedquinn @gamer i really don't get the hate xml receives, it's good stuff. if someone holds it wrong it doesn't make it a bad tool. can't do nmap.org/book/output-formats-o with json.

@bonifartius @icedquinn @gamer something you can do with XML that you can't do with JSON is, you can mix two document types and validate both of them. Like if you have say a document XML type embedded in an API document type.
@bonifartius @sun @gamer mostly because of a long series of people not understanding how it was intended to be used.

you were supposed to write shorthands and use sgml tools to convert it. "xml" was just meant to be a fixed format to convert all of those documents *to*. then java comes along and speaks XML, uses it for a lot of configs, and people come to associate XML with the penance factory that is Java.
@icedquinn @gamer @bonifartius anything at rest inside a system should be unambiguous xml but outside could be sgml if you want. sgml for html makes sense, xhtml is when you save it to a system. but people couldn't handle it so it's deprecated.
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.