Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I would technically tell you to go to /dev/null but this is actually a decent one.
-
Wait, do I get that right? You try again and again until you succeed once, after which you improve once, then you die?
-
@Sumafu If noSuccess (which should be !success) is true, the loop will end. And yeah, it actually means that you only improve once, after your first success, then the program ends. Not to mention that retrying should have a backoff mechanism. No exceptions.
-
You will fail more often. If you don't learn from those then you are screwed. You will learn more from failures than from successes.
-
theuser48024yThis tat implies he or she will never have success no matter how many times they try or improve. Kinda depressing isn't it?
-
No method definition for improve(), try again().
booleans Success and noSuccess are not defined, Life.h is undefined as well. -
Maer17824yTwo boolean variables for the same semantic... ok.
I feel like people should vet such tattoos or prints on devRant. People are so critical, due to their job requiring precision, that only the coolest shit would make it through.
Stuff like a cool regex for "Fuck you" or a codegolf virus in batch or something.
So I suppose tryAgain(). -
@codecrow in fact not, on closer inspection you'll see a middle line where the m is.
-
theuser48024ywhile(!success)
{
success = tryAgain(); // always returns false
if (success) { improve(); }
}
Better yes? I'm assuming success is scoped outside the while block. I don't know how to to the bot formatting. -
One improvement happens after success and then... this program ends. Very metaphorical, but lacks realism :)
-
@KAS89 "fu**ing tattoo"
I guess we all see different things in that tattoo. Is there hidden imagery in there? I just don't see the fu**ing in that tattoo. -
The if check is redundant I am sorry but since you tattoo this you have to live with itπ
Have fun -
@Yggdrasil well should have read the comments beforehand so many of you beat me to the punchπ
-
Wait, you didn't actually tattoo this on yourself, did you? Please tell me this is a random image from the internet.
-
This reminds me of the guy who thought he got the kanji for dragon on his chest. Turned out he actually had kanji for monkey on his chest.
-
@Demolishun Still better than "no cards, only cash". It was a story on the internet a while ago.
-
bioDan61594y
Secret of success
joke/meme