logoalt Hacker News

jama211yesterday at 6:04 PM5 repliesview on HN

There’s nothing wrong with that, except it lets ai skeptics feel superior


Replies

everforwardyesterday at 11:23 PM

There are absolutely things wrong with that, because React was designed to solve problems that don't exist in a TUI.

React fixes issues with the DOM being too slow to fully re-render the entire webpage every time a piece of state changes. That doesn't apply in a TUI, you can re-render TUIs faster than the monitor can refresh. There's no need to selectively re-render parts of the UI, you can just re-render the entire thing every time something changes without even stressing out the CPU.

It brings in a bunch of complexity that doesn't solve any real issues beyond the devs being more familiar with React than a TUI library.

RohMinyesterday at 6:54 PM

https://www.youtube.com/watch?v=LvW1HTSLPEk

I thought this was a solid take

show 1 reply
overgardyesterday at 9:44 PM

I haven't looked at it directly, so I can speak on quality, but it's a pretty weird way to write a terminal app

3836293648yesterday at 7:02 PM

Oh come on. It's massively wrong. It is always wrong. It's not always wrong enough to be important, but it doesn't stop being wrong

show 1 reply
exe34yesterday at 6:33 PM

I use AI and I can call AI slop shit if it smells like shit.