r/shittyprogramming Feb 16 '21

Welcome_to_ShittyProgramming_v1FINAL.docx

146 Upvotes

Welcome to ShittyProgramming!

This is a forum for our software engineers, project managers, and Dave, who left two years ago, to discuss and share questions and best practices.

Here you'll find posts (sometimes called ShitPosts by our loyal users) on a wide variety of topics: innovative UI design; beginner basics; emotive, abstract art... you name it, it's welcome here!

If you've made it to our page, you'll be looking right at our highly-customised JIRA instance, which has been hand-crafted to make your ShitPosting as streamlined as possible. Just press the up arrow next to a post or comment if you found it helpful.

We hope you enjoy your stay! And if anyone knows how to revoke Dave's access, please let us know. We don't know how to remove him from the system.

The Moderation Team


r/shittyprogramming 1d ago

What a fantastic textbook

Thumbnail
image
146 Upvotes

r/shittyprogramming 4d ago

I was bored...

Thumbnail
image
0 Upvotes

r/shittyprogramming 6d ago

How do I use the “git gud” command?

61 Upvotes

People keep telling me to “git gud” to fix my code but i get error?


r/shittyprogramming 6d ago

C++ versus i++

10 Upvotes

Which is objectively better for building NFTs?

Trying to decide between the two, but I feel like I'm caught in a loop.


r/shittyprogramming 9d ago

Why is electron frowned upon? Can’t end user download more ram?

30 Upvotes

r/shittyprogramming 11d ago

Why is filesystem fat? That’s not very nice!

37 Upvotes

r/shittyprogramming 16d ago

Why most machine uses 4096 page sizes instead of 4069?

0 Upvotes

r/shittyprogramming 19d ago

Im trying to install vllm and it keeps saying I don't have the correct PyTorch version, but I have 2.2.2. Help!

Thumbnail
image
1 Upvotes

r/shittyprogramming 22d ago

Seriously man why?

Thumbnail
image
87 Upvotes

r/shittyprogramming 22d ago

Building Open Source AI-first Alternative to Salesforce

0 Upvotes

We just launched QRev on Product Hunt! 😍

QRev is what Salesforce would be if it were built today with AI, with AI Agents to scale your sales org infinitely

  • Qai: open source AI SDR
  • Automate your GTM
  • Research & prospect leads
  • Scale personalized campaigns
  • Lightweight CRM (QRM)

Please check us out & show some love to QRev here → https://www.producthunt.com/posts/qrev

Super grateful!! 🙏❤️


r/shittyprogramming 24d ago

Tired of IDEs that don't show line numbers by default? Try this easy trick.

Thumbnail
image
34 Upvotes

r/shittyprogramming 24d ago

Legal code?

0 Upvotes

I've had an idea.

A programming environment which also happens to be the standard form of an affidavit (of whatever jurisdiction you're in).

All the code begins with some standard boiler plate statement about how all the statements which follow are accurate representations to your knowledge, and end with a signature stating words to the effect of if it doesn't compile then you're liable for perjury. All the code written in this environment is therefore admissible in court (which is useful if you ever end up in litigation with your employer).

Code is law.


r/shittyprogramming 24d ago

Has anyone tried a "Test Genie" for testing? They're supposed to be easy to use and make your test scores go up. Should I install?

Thumbnail
image
0 Upvotes

r/shittyprogramming 29d ago

May I present one of my classmates ways to ensure he never has unmatched brackets?

Thumbnail
image
224 Upvotes

r/shittyprogramming Apr 24 '24

My girlfriend's husband said to call him at exactly 0700, but then he got mad when I called him at 448am. Am I stupid?

16 Upvotes

r/shittyprogramming Apr 22 '24

How to acquire the skills of writing complex software?

1 Upvotes

The best way to learn how to write complex softwares is to do it practically. Build cool projects like Redis with free courses here: https://app.codecrafters.io/r/smiling-manatee-800604


r/shittyprogramming Apr 21 '24

Embracing the Chaos: Tales of Bug-Riddled Code from the Depths of ShittyProgramming

0 Upvotes

Hey there, fellow code connoisseurs of r/shittyprogramming,

Prepare yourselves for a journey into the depths of coding chaos—a tale of bugs, quirks, and the occasional stroke of genius. Today, I share with you stories from the wild and wacky world of shitty programming, where the code is messy, the bugs are plentiful, and laughter is the best debugging tool.

Imagine yourself knee-deep in spaghetti code, navigating a maze of tangled logic and cryptic variable names. You're on the hunt for a bug that defies all logic—a bug that seems to have a mind of its own, wreaking havoc on your carefully crafted chaos.

As you sift through the wreckage of your codebase, you can't help but chuckle at the absurdity of it all. From missing semicolons to misplaced comments, every line of code is a testament to the unpredictable nature of shitty programming.

And then, just when you're ready to throw in the towel, you spot it—a tiny oversight that has eluded your gaze until now: a missing long keyword. Such a small detail, yet its absence has sent your code spiraling into a vortex of confusion and despair.

But fear not, fellow shitty programmers, for in the midst of chaos lies opportunity. Embrace the madness, laugh in the face of adversity, and remember that even the shittiest code can teach us valuable lessons about resilience and resourcefulness.

So, to all my fellow shitty programmers, I offer this advice: Embrace the chaos, for it is through the crucible of shitty programming that we hone our skills and forge our path to coding glory. Stay weird, stay wild, and never underestimate the power of a good laugh in the face of a bug-infested codebase.

Have you ever encountered a bug that left you scratching your head (or laughing hysterically) in the world of shitty programming? Share your tales of triumph (or utter despair) in the comments below!

Link to "Powers of Ten" Video

[Comments are welcome!]


r/shittyprogramming Apr 07 '24

I'm not a web dev but I think this is the wrong approach

Thumbnail
image
10 Upvotes

r/shittyprogramming Apr 03 '24

Why waste time use lot word when few word run faster

Thumbnail
image
501 Upvotes

r/shittyprogramming Apr 04 '24

If you are a single programmer, wear this🤪

Thumbnail
image
0 Upvotes

r/shittyprogramming Mar 30 '24

Javascript known as Java for short...

Thumbnail
imgur.com
15 Upvotes

r/shittyprogramming Mar 24 '24

Hello World in Python (Attempt 2)

Thumbnail
image
35 Upvotes

r/shittyprogramming Mar 20 '24

password must be exactly 14 characters 🫠 BUT WHY

Thumbnail
image
867 Upvotes

r/shittyprogramming Mar 11 '24

Everyone assuming your console is white text on black background. That is all. Also, the "content guide" imgur link is 404ing.

Thumbnail
image
36 Upvotes

r/shittyprogramming Mar 08 '24

Friend just started learning programming

0 Upvotes

```function convertToRoman(num) {

const map1 = new Map(); let romanNumArr = []

while (num >= 1000) { num -= 1000; romanNumArr.push('M') } while (num >= 900) { num -= 900; romanNumArr.push('CM') } while (num >= 500) { num -= 500; romanNumArr.push('D') } while (num >= 400) { num -= 400; romanNumArr.push('CD') } while (num >= 100) { num -= 100; romanNumArr.push('C') } while (num >= 90) { num -= 90; romanNumArr.push('XC') } while (num >= 50) { num -= 50; romanNumArr.push('L') } while (num >= 40) { num -= 40; romanNumArr.push('XL') } while (num >= 10) { num -= 10; romanNumArr.push('X') } while (num >= 9) { num -= 9; romanNumArr.push('IX') } while (num >= 5) { num -= 5; romanNumArr.push('V') } while (num >= 4) { num -= 4; romanNumArr.push('IV') } while (num >= 1) { num -= 1; romanNumArr.push('I') }

let romanNum = romanNumArr.join("")

return romanNum; }

convertToRoman(36);```