News for hackers. Stuff that matters.
Re:Django 5.0 Is Released by kbrannigan on Monday December 04, 2023 @03:18PM (#38522482)
What do people like torturing themselves by duplicating code. Wouldn't it be easier to just use node all the way.

Writing hundreds of lines of JS to display a Table list, instead of HTML sprinkled with some JS

Re:Django 5.0 Is Released by scrollaway on Tuesday December 05, 2023 @02:25AM (#38528001)
A whole stack rewrite is not always (in fact very rarely) a good idea. The backend often drives a lot of logic; in a big rewrite, the less you rewrite the more likely you are to be successful.

Too many big refactors fail because they aren’t done in value-adding steps.

Also your second paragraph isn’t in line with your first … in react you don’t write “hundreds of lines of js” for a table. You write the html as js (jsx), and sprinkle the dynamic parts on top. It’s equivalent…

Re:Django 5.0 Is Released by kbrannigan on Friday December 08, 2023 @08:39PM (#38577438)
I've seen, routing boilerplate, js to make the api requests, js to modify state(redux), unit tests, interfaces, until you get to the actual table.