News for hackers. Stuff that matters.
Re:Ink: React for Interactive CLI Apps by seveibar on Friday November 01, 2024 @02:22PM (#42020006)
XML is insanely powerful, there are 1,000 page books on XML alone. But React is a much smaller standard that extends XML to an insanely effective point (assuming basic JS as base knowledge) It's because I like XML that I think JSX is a logical/effective extension and we should support it as the sort of "champion" of declarative design

Just to emphasize this: Why has XML been losing as the standard config format? Why did JSON win on web APIs? It's not because JSON is better, but because it's simpler and very-javascript-compatible.

If you like XML, there is a strong argument to support JSX because it's a way to keep XML around!

Re:Ink: React for Interactive CLI Apps by kristopolous on Friday November 01, 2024 @02:30PM (#42020091)
XML continues to be a poor and inappropriate choice for simple stand-alone things.

In APIs you're talking to 1 server, calling 1 function, that returns 1 kind of thing at 1ce.

XML starts becoming useful when you increment those numbers - any of them.

People (including me) have been trained not to think in those ways. The web still isn't a web - it's merely a collection of computers with individual relationships.

The 90s internet had fleeting attempts at other paradigms. We should probably put serious effort into a second bite at that apple since by every measure our technology is at least 1000x better in the same way we've revisited neural networks

Re:Ink: React for Interactive CLI Apps by lelanthran on Saturday November 02, 2024 @04:28AM (#42024914)
> Why has XML been losing as the standard config format?

The short answer, as you answered it, is:

> there are 1,000 page books on XML alone.

The long answer: it was over-engineered for the intended use-case.

It's easier to fix under-engineered stuff (like JSON) than to fix over-engineered stuff (like XML).

> If you like XML, there is a strong argument to support JSX because it's a way to keep XML around!

Well, this is basically pivoting XML to a different use-case. It'll still be over-engineered unless you stick to JSX only, in which case it's not XML anymore, anyway.

Re:Ink: React for Interactive CLI Apps by croes on Saturday November 02, 2024 @07:25AM (#42025686)
React isn’t a standard