News for hackers. Stuff that matters.
Re:Flutter and Dart, or how to quickly build a mobile app wi... by wruza on Sunday March 01, 2020 @06:57AM (#22456492)
“Without losing your hair”

Future common data boilerplate. Qt/gtk-style app init boilerplate. Routing boilerplate. Future builder boilerplate. Homepage title state boilerplate. Setmapsfordicts boilerplate. DTOs. Widget scaffold. Step builder boilerplate. New policy subject(?). Complex handwritten setters and validators.

How on earth is that not losing your hair? Can’t we just drop a list view, few controls on a form, attach field formatters, and then write a simple controller that implements a part of a table view delegate and a save method? What’s wrong with modern ui?

Re:Flutter and Dart, or how to quickly build a mobile app wi... by scalatronn on Friday March 06, 2020 @12:23PM (#22505394)
You don't have to do that. you can write everything in one file if you want. But when you introduce some architecture you always have some verbosity