Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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.


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.


For some reason I prefer those to curlies.


You clearly need more Lispmaxxing


[flagged]


Didn't realize it until now, but you're right.

LOC is dead, long live token usage.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: