r/shittyprogramming • • May 08 '16

Wanting to learn C#, but my vision isn't 20/20

247 Upvotes

Do I need glasses to use C#? My vision isn't that great and I can't see things too clearly and was wondering if this would stop me. I can use the visual basic easily enough if that helps.

Many thanks in advance!


r/shittyprogramming • • Aug 27 '20

Twitter Bot That Doesn’t Like Eye Contact

Thumbnail
youtu.be
246 Upvotes

r/shittyprogramming • • Jul 19 '19

Is this true?

Post image
246 Upvotes

r/shittyprogramming • • Sep 21 '25

Finally solved the loop problem that's been plaguing our industry

245 Upvotes

After 30 years in this industry, I've seen it all. GOTO considered harmful. Structured programming. Object-oriented nonsense. Functional programming zealots.

But nobody ever questioned the loop itself.

That's why I've developed WHEN - the first truly loop-transparent language. Instead of explicit iteration (a 1970s relic), everything runs in implicit perpetual cycles with reactive conditionals.

// Old way (error-prone, hard to maintain):
for (int i = 0; i < 5; i++) {
    printf("%d\n", i);
}

// The WHEN way (self-documenting, enterprise-ready):
count = 0
de printer(5):
    print(count)
    count = count + 1
main:
    printer.start()
    when count >= 5:
        exit()

Notice how we've eliminated the dangerous for construct entirely. No more off-by-one errors! The program naturally flows through reactive states, just like real business logic.

I've already migrated our production microservices to WHEN (pip install when-lang). The junior devs are confused, but that's how you know it's sophisticated.

Some say "everything is global scope" is a weakness. I say it's transparency. Why hide state when you can embrace it?

This is the future of enterprise software. Mark my words, in 5 years, everyone will be writing WHEN.


r/shittyprogramming • • Apr 21 '18

This is valid and you can't argue against it...

Post image
245 Upvotes

r/shittyprogramming • • Mar 10 '18

Our uni teaches indentation properly

Post image
245 Upvotes

r/shittyprogramming • • Oct 20 '17

Is this a good language to use?

Post image
245 Upvotes

r/shittyprogramming • • Mar 21 '15

Learning C++; don't want STDs

245 Upvotes

I'm trying to learn C++ but it seems every resource I can find wants me to use STDs in my programs. I don't want to forcibly infect these poor programs, what do I do?


r/shittyprogramming • • Feb 27 '19

Why are people doing all these ridiculous things to fix global warming when the obvious solution is to ban Java?

244 Upvotes

Three billion devices run Java - just under half of the world's population. If you thought Java made your PC hot, just imagine what it could do on a global scale.


r/shittyprogramming • • Mar 27 '15

Need more index.html

Thumbnail
imgur.com
244 Upvotes

r/shittyprogramming • • Dec 08 '14

"Mozilla is breaking compatibility with MILLIONS of webpages all OVER THE WORLD!"

Thumbnail
bugzilla.mozilla.org
244 Upvotes

r/shittyprogramming • • Dec 04 '17

Optimized some Google software to take up 33% less space; when are they going to hire me?

Post image
243 Upvotes

r/shittyprogramming • • Feb 01 '16

What is going on with React.js? Is FB trying to trademark the word 'React'?

243 Upvotes

FB == Facebook == FineBros ?


r/shittyprogramming • • Dec 21 '14

You hear a lot about localizing your Code, but when I add Polish langauge support my compiler gives me errors

Post image
243 Upvotes

r/shittyprogramming • • Nov 29 '15

Why Unary is the Best Number System

Thumbnail
medium.com
242 Upvotes

r/shittyprogramming • • Nov 05 '14

super approved Help me DOS a website

242 Upvotes

Someone killed me in an online game, and I want to get back at him! I know his website, so I heard I can DOS it. I found an old copy of MS-DOS on a floppy disk, how do I upload it to his website?


r/shittyprogramming • • Dec 31 '18

Two-factor authentication? Of course we have two-factor authentication.

241 Upvotes

First factor: Username

Second factor: Password


r/shittyprogramming • • Sep 06 '16

Convert a bool to bool

Post image
241 Upvotes

r/shittyprogramming • • Jul 14 '15

Didn't Even Pass The Year

Post image
241 Upvotes

r/shittyprogramming • • Jun 09 '23

[low effort] Starting on June 11th /r/shittyprogramming will go private in protest of upcoming Reddit API changes that will effectively kill all 3rd-party Reddit apps

240 Upvotes

What's going on?

Reddit is monetizing the shit out of their API to the point where it is going to kill third-party apps. This is basically as devastating as moving the entire API to SOAP. So you can see it is quite bad.

What's the plan?

We know that you have come to rely on shittyprogramming to find reposts of memes from other programming subs as well as the latest shit coins, but we feel setting the sub to private is the only way we can protest this policy change. So on June 11th, we will do...that thing I just said.

Hopefully this sends a message, but without guaranteed delivery, we might not know. We may return on the 13th, but it is entirely possible we forget.

What should I do instead?

Maybe write some shitty code so you have something to post when we come back online? Getting pretty sick of shitty robots and homework help.

I will try to think of some shitty projects and put them in the comments for you all.


Serious Part

This is actually really shitty. People build third-party apps as a way to help the community and for some it is their livelihood. We are all developers here and we know what these types of changes signal. More restrictions. More control. Less of what made reddit fun in the past. If you are a mod, consider setting your community to private too.

And yes the off-by-one errors in the dates were intentional. It's shittyprogramming. Try to keep up people.


r/shittyprogramming • • Sep 14 '20

Interviewer: Can you code a model for us? Front-end dev

Post image
240 Upvotes

r/shittyprogramming • • Apr 20 '19

LPT: You can count the number of iterations your for loop completed with this one simple trick!

240 Upvotes

Ever need to recover a variable that has fallen out of scope? For example, in order to get the number of iterations that a loop has completed, you can use this one simple trick.

#include <stdio.h>

int main(){
  for(int i = *(&i) = 0; i < 42; i++){
    if(i == 15)
      break;
  }
  int recover_i = *(&recover_i);
  printf("%i\n", recover_i); //prints 15
}

Important notice: This only works with gcc when compiled without any optimization flags, or with -O0


r/shittyprogramming • • Aug 21 '17

super approved I just got special glasses for Eclipse. What is the right protective equipment for programming?

240 Upvotes

The news said I needed safety glasses to use Eclipse and told me where to order them. My whole team is using them now, but it raised a question: Do any other IDEs need personal protective equipment (PPE)? Is there any danger when programming without the right PPE?

I heard some methods are thread-safe. Does that mean I don't need PPE when working with them? Do I need a lead apron to do atomic operations?

Also, the Eclipse glasses are super flimsy and I can't see my monitor through them. Am I using them wrong?


r/shittyprogramming • • Mar 02 '17

Why won't Microsoft rewrite Windows in TypeScript?

240 Upvotes

I mean, what's the point of supporting old ass legacy languages like C++ and C# when they have TypeScript. They could use Electron for GUI and replace the registry with a mongo database.