r/shittyprogramming • • Oct 18 '18

I have created a Java AI. How come nobody's ever thought of this?

Post image
229 Upvotes

r/shittyprogramming • • Oct 15 '18

Exclusive screenshot of Elite Fighter gamecode!

Post image
271 Upvotes

r/shittyprogramming • • Oct 12 '18

How do I get this version? Seems very advanced

253 Upvotes

r/shittyprogramming • • Oct 11 '18

I am packaging several cli apps for rendering 3D objects in ASCII. So far I have cli-sphere and cli-cube. What should I name my upcoming torus generator? I can't think of anything.

70 Upvotes

r/shittyprogramming • • Oct 09 '18

Belgium has it's regional elections this sunday, the voting machines are using USB sticks and store the votes on a separate Linux partition. But the stick should also be used on windows which wil ask the users to format it and so it will delete all the votes

Thumbnail
twitter.com
227 Upvotes

r/shittyprogramming • • Oct 06 '18

Why you should never use getElementById() on YouTube.

Post image
237 Upvotes

r/shittyprogramming • • Oct 05 '18

[interesting] Maybe you've had your fair share of bad casts in your day, but at least you've never cast a 64 bit floating point to a 16 bit integer, leading to the crash of a rocket, obliterating 4 spacecraft and causing $370 million in damage

Thumbnail
en.wikipedia.org
198 Upvotes

r/shittyprogramming • • Oct 04 '18

How much lift is produced by one float?

147 Upvotes

I want to run a java program that produces enough lift to get my case to levitate, and if I put enough floats in the program eventually the case will float too right??


r/shittyprogramming • • Oct 02 '18

Loops? Ain't nobody got time for that!

28 Upvotes

Yes, this was hard coded, not generated.


r/shittyprogramming • • Oct 02 '18

CMV: Ram not used on Chrome tabs is wasted ram

131 Upvotes

r/shittyprogramming • • Oct 02 '18

I guess there's two solutions for any problem

Post image
24 Upvotes

r/shittyprogramming • • Oct 02 '18

Literal shitty programming using Pure Data

Thumbnail
youtube.com
13 Upvotes

r/shittyprogramming • • Sep 29 '18

It was designed for printers, let me create animation in it!

Thumbnail
self.programminghorror
56 Upvotes

r/shittyprogramming • • Sep 26 '18

What does "code smell" smell like?

150 Upvotes

The guy reviewing my code says that he has observed a lot of code smells. But I don’t smell anything. Makes me think he's messing with me. I am pretty sure that I have not lost my sense of smell.


r/shittyprogramming • • Sep 25 '18

../../../../../../../who/is/hansl

Post image
208 Upvotes

r/shittyprogramming • • Sep 24 '18

my L key broke so i had to get creative

Post image
502 Upvotes

r/shittyprogramming • • Sep 23 '18

I'm in.

Post image
313 Upvotes

r/shittyprogramming • • Sep 21 '18

This is why I don't like JS, someone posted that imaginaries are not numbers in JS and someone else showed that they are, so I tested this.

Post image
134 Upvotes

r/shittyprogramming • • Sep 21 '18

I wrote a rocket league bot using PHP. He's about as good as me.

Thumbnail
youtube.com
175 Upvotes

r/shittyprogramming • • Sep 21 '18

[Javascript] What do you guys think, should I just rewrite this crap?

16 Upvotes

Yes it is a global function.

No I didn't write it.

Yes, I want to murder the guy who wrote it.


r/shittyprogramming • • Sep 19 '18

how to do a switch statement in python

Post image
230 Upvotes

r/shittyprogramming • • Sep 19 '18

Just wasted a whole day trying to emulate a simple PropertyGrid with a DataGrid while using PropertyGrids just to eventually learn about PropertyGrids.

9 Upvotes

I basically used the desired tool while butchering another tool to make that one work like the tool I was already using.


r/shittyprogramming • • Sep 17 '18

Trying to export algorithm to Desmos, help?

41 Upvotes

Algorithm is written in C. Desmos is written in HTML mostly. I need to have Desmos run a complex algorithm so I can see the results visually. What language syntax does Desmos use? R? C-like? Also, where's the import feature for packages? I don't even know where I can upload my data, like as a CSV sheet.