3 ms·
The one thing I hate about flutter is the ui code having an ungodly amount of nested brackets.
by kumarvvr 2mo ago
The one thing I hate about flutter is the ui code having an ungodly amount of nested brackets.
- eddythompson80 2mo agoYou clearly need more Lispmaxxing
- deleted 2mo ago[deleted]
- superze 2mo ago[flagged]
- cocoa19 2mo agoDidn't realize it until now, but you're right. LOC is dead, long live token usage.
- skeledrew 2mo agoFor some reason I prefer those to curlies.
- MrDresden 2mo agoWhile 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.
- gman83 2mo agoI 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.