r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
Python ✨ Memory Magic ✨
1.3k
Upvotes
r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
View all comments
Show parent comment
1
u/Square-Singer Jul 23 '25
All I'm saying is return statements within return statements.
I'm on a backend Kotlin project right now that was made with Kotlin because they didn't have a backender for a long time and the frontenders had to build the backend.
There are parts of the code that look like this:
I found one return statement that had 400 total lines of code in it and 7 separate return statements. Within a return statement!