r/shittyprogramming • u/ToHallowMySleep • Nov 23 '20
r/shittyprogramming • u/Mat2012H • Mar 24 '16
Why do my friends keep on dereferencing undeclared pointers in the group chat??
r/shittyprogramming • u/cobrabb • Jan 28 '22
RIP Linux. Gone but not forgotten
r/shittyprogramming • u/bakuninsawhisshadow • Mar 02 '22
How do I process this queue? It looks like a FIFO but my idiot professor calls it “USSR”
r/shittyprogramming • u/boynedmaster • Aug 13 '16
TIL Website scripts were originally meant to be made in a language called "Javascript", but was scrapped in favor of jQuery
r/shittyprogramming • u/Overall-Product-9565 • Jan 02 '25
Struggling with this interview question
r/shittyprogramming • u/[deleted] • Mar 26 '18
As the only black CS major student in my college, how can I ensure no race conditions between me and other students occur?
r/shittyprogramming • u/ChaosCon • Oct 18 '16
If my computer clocks in at 3GHz and my microwave clocks in at 5GHz, why don't we just do calculations in our ovens?
I mean, it seems like a waste of space to have both machines when one is clearly slower. Do you think it's a conspiracy by Big Intel?
r/shittyprogramming • u/ParallelResistance • Mar 27 '16
"Better make sure all of github knows my Oauth keys"
r/shittyprogramming • u/Roppano • Jun 08 '26
I just used "0b990b36-bc6a-4b11-8e92-c9d8899631ca"
Just a heads up, if your generator also spit this out. I hope we won't clash
r/shittyprogramming • u/Ccoolboy • May 31 '16
I think I developed the BEST encryption method known to man...
Okay, so obviously, storing passwords in plaintext is probably one of the most flawed methods out there for storing passwords. You could use a mature hashing library tested extensively, but with a quantum computer, you could crack any hash in a matter of nanoseconds. It could be so fast, it could even be negative nanoseconds You know who probably has a quantum computer? Corporations.
Instead of storing your passwords in plaintext, store your passwords in plaintext but name your column hashed_password. When a hacker comes in, they will realize your passwords are encrypted because of the hashed_password column. They will try every single password combination except for the actual password because they think it's encrypted! You couldn't even crack it with a quantum computer.
I would recommend everyone start implementing this into your networks ASAP before the corporations get to you.
r/shittyprogramming • u/0rphon • Nov 21 '20
when your GC's runtime cost is measured in dollars
r/shittyprogramming • u/flukemmviii • Jul 26 '16
super approved Shouldn't the British version of PHP use something like £foo for variables instead of $bar?
r/shittyprogramming • u/[deleted] • Dec 30 '17
How to flip the sign of a number: a minimal approach
r/shittyprogramming • u/sbarnabas • Sep 15 '15
super approved How To Check If a float is Negative
r/shittyprogramming • u/[deleted] • Jan 07 '16
Why do we use "Hello world!" as an example program when "Hell world!" would better capture the existential horror of modern existence?
r/shittyprogramming • u/[deleted] • Nov 03 '14
r/badcode Yeah this looks like it's going to work...
r/shittyprogramming • u/sergeydgr8 • Jun 08 '16