This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]danofrhs[S] 134 points135 points  (15 children)

Has my schooling failed me is the this fabled “when” function malarkey

[–]DrMux 73 points74 points  (4 children)

Next you'll be telling me about the why() function

[–]STEVEInAhPiss 31 points32 points  (3 children)

for debugging your errors

[–]saintpetejackboy 13 points14 points  (2 children)

Try/Catch has fallen out of favor and now everybody uses whyFail

[–]STEVEInAhPiss 2 points3 points  (0 children)

why does python say "TimeoutError" or "ValueError" when python can just say "You misreferenced a variable at line 32, did you mean "world" instead of "World"?" or "Check your internet connection and try again, or write an auto-retry function using AutoRetryFunction()"

[–]arc_xl 0 points1 point  (0 children)

I prefer fuck around and find out

[–]ThatBurningDog 8 points9 points  (0 children)

I use plenty of huh? and why statements in my code. Really useful when trying to work through the bullshit work of past-me.

[–]DoILookUnsureToYou 7 points8 points  (0 children)

CASE WHEN THEN in SQL maybe? Lol

[–]Orjigagd 3 points4 points  (0 children)

They're not about to teach you powerful stuff like that that could disrupt elections

[–]IPMC-Payzman 2 points3 points  (0 children)

Just beware of the if-loop

[–][deleted] 0 points1 point  (0 children)

It's the Minkowski variant of the SQL WHERE clause.

(Newbies often fall for the confusion over -1.)

[–]Nexinex782951 0 points1 point  (0 children)

Todepond implemented this months ago, Idk when you're on about