help 5 / discord Images by: CementSandwich Kunixin danilwhale Maxwellcrafter NVORON Meikou_ Infernogates ^ All sourced from the Cursed Programming thread in the Discord server
Some poor guy who downloaded the code: “MY COMPUTER BROKE! WHY?!?” The person who wrote the code purposefully adding .000001 to the number: “No regrets, Mr. Freeman…”
0:49 a legit way to obfuscate batch scripts gotta love how this person runs setlocal enabledelayedexpansion just so they can use ! instead of % for variables
Its sorted name wise in asc order. And chrome is at 0%. If it was more than python the power usage value for chrome would also say very high, whereas it says very low
I had to fight the senior developer where I work because he basically forced me to use a full If/Else statement in place of a ternary operator "in case I want to add more stuff in that else bit". Don't get me started on him using "If is true do things" instead of "if it's false break". All the time. With If statements inside If statements. Cursed!
@@farhanaditya2647 For 20 odd years! Man, if you read some of his code, you'd probably be having a laugh as well. Or the UI of his applications (NO whitespace, gigantic titles on every form, unnecessarily descriptive buttons...)
If I understand it correctly it goes through each of these horrendous conditionals and outputs a blank line if true. So I would expect the 1st and 5th statements to be true. So if the output is 4 lines, what are the other 2 statements?
Wait I thought if the if statement or any elif statement associated with it is true then it should stop evaluating the other instances? So it should just print nothing at the start and then another nothing from the if statement and that's it - 2 blank lines. Correct me if i'm wrong.
I remember writing 5 or 6 if else statements in a row before learning about switch case. Ignosce mihi, pater, quia peccavi. (Lord forgive me, for I have sinned.)
that first one is me, I tend to separate css for each page and media queries for mobile so I don't have to be confused in development stage, then I'll merge all the css files into one into production lmao
2:02 looks exatly like my commits, except instead of v2/v3 i say "fix translate again", "fix translate one more time", "fix translate final (i hope)", "fix translate final final"
0:12 basically checks to see if an object (`nothing`) has the proper equality operators built in. If `nothing` doesn't (i.e. it is completely indescriminate) then the function returns None. If `nothing` DOES have the proper operators built in, then it returns `nothing`. I propose we rename this function to "is_pythonic" or something along those lines.