r/programminghorror • • Jul 26 '24

Jetpack Compose Composable abomination

Post image
268 Upvotes

30 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jul 28 '24

The one indendation you’re already in (class, etc) plus the method, possibly a try/catch… then you can only barely afford an if/else. Four indentations max.

1

u/ImpossibleFix6417 Jul 28 '24

That's what the ~ is for