this post was submitted on 09 Aug 2025
3 points (80.0% liked)

Lobste.rs

232 readers
25 users here now

RSS Feed of lobste.rs

founded 10 months ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] JackbyDev@programming.dev 2 points 4 days ago (1 children)

This article is about AI stuff and I wonder if it's written by AI too, because this is bullshit.

Their solution, External Data Representation (XDR), wasn’t over-engineering. It was essential for systems where data corruption could result in system failure. The Interface Definition Language (IDL) with compiler-generated stubs caught type mismatches at build time, not runtime.

MCP discards this lesson, opting for schemaless JSON with optional, non-enforced hints. Type validation happens at runtime, if at all.

Tons of web based APIs use JSON and still have strict compile time checking. The problem isn't JSON.

[–] kcuf@lemmy.world 2 points 3 days ago (1 children)

I didn't read the article yet, but maybe they're not saying that JSON is schemaless, but that this is a usage of JSON with no schema. If that's the case, the fact that it's JSON doesn't matter, but it being schemaless means there's no defined contract, or that it's very loose.

But also this article could be shit, idk yet

[–] JackbyDev@programming.dev 1 points 3 days ago

I may have misinterpreted tbh, it felt like they were saying JSON prevented it from having schemas but that may not have been the case.