logoalt Hacker News

kumarvvrtoday at 12:56 AM5 repliesview on HN

The one thing I hate about flutter is the ui code having an ungodly amount of nested brackets.


Replies

gman83today at 9:54 AM

I treat nesting as a feature: if the nesting starts getting deep, that's the code indicating to extract a child widget. It pushes me toward better composition and smaller, reusable components instead of giant monolithic views.

MrDresdentoday at 8:41 AM

While you aren't wrong, in my experience when the amount of nesting starts giving me bad vibes it usually indicates that something can be refactored out as a standalone widget.

Still, Flutter now feels ancient to use compared to something like Compose, in that regard.

skeledrewtoday at 2:19 AM

For some reason I prefer those to curlies.

superzetoday at 1:17 AM

Loc goes brrrrrrr. The tokenmaxxing of the 20s

show 1 reply
eddythompson80today at 1:00 AM

You clearly need more Lispmaxxing

show 1 reply