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