News for hackers. Stuff that matters.
Re:An Overview of Ruby on Rails 7.1 Features. Part III by andrei_says_ on Monday January 23, 2023 @08:37PM (#34497907)
In what scenario would complexity be higher in a simple UI - server loop? Doesn’t complexity usually arise from having additional logic in the browser and maintaining state separately?
Re:An Overview of Ruby on Rails 7.1 Features. Part III by jemmyw on Tuesday January 24, 2023 @08:11PM (#34513007)
I guess it depends somewhat on how you imagine up something and write it. I was working on some drag and drop UI that had multiple sortable lists and an action area. Figuring the server side and UI at the same time didn't work out. I reversed and implemented the UI with its required state, and then it was easy to transform that state to what the server side required, and vice versa.

Complexity is tricky. Are three simple things more complex than one thing thats harder to understand?