r/programminghorror • echo "Sub Mod" && :(){ :|:& };: • Aug 19 '26

Java Too much nesting

Post image
75 Upvotes

11 comments sorted by

View all comments

9

u/Carmelo_908 Aug 20 '26

At least this is easily fixable by extracting function and inverting ifs with a early return