/r/shittyprogramming

Photograph via snooOG

r/ShittyProgramming is participating in the Reddit blackout begging June 12th to protest the planned API changes that will kill third party apps.

More here: https://www.theverge.com/2023/6/10/23756476/ & https://archive.is/RtZdp.

For general news and info on the situation: r/Save3rdPartyApps and r/ModCoord.

Join the r/ShittyProgramming Discord server to discuss whatever: https://discord.gg/shittyprogramming

We will not be adding approved users to the subreddit during the blackout.

Have a tough programming question that /r/programming couldn't answer? Banned from Stack Overflow? Can't afford Experts Exchange?

Post your question/tips/secrets/advice and get a response from our highly-trained professional developers.

/r/shittyprogramming

103,427 Subscribers

103

diabolical

7 Comments
2024/10/22
01:48 UTC

291

Why Stack Overflow people don't want to answer my question... πŸ˜”

26 Comments
2024/10/19
18:19 UTC

38

What do you think about my visual programming style? Would this pass code review?

π“€₯=lambda*𓁆𓀕:"".join(str(𓁆𓀕[0])[π“€₯]for π“€₯ in 𓁆𓀕[1:]);𓀣𓁀,π“†π“€Ÿ,𓁆𓀕,π“€₯=chr(63),π“€₯(type(0.),2,10,4,5),π“€₯(type("",(),dict(π“€₯=lambda:π“€₯))().π“€₯,9,10),π“€₯(type(0),8,5);𓁆𓀕+=π“€₯

print(
    π“€₯ , 𓁆𓀕,
    π“†π“€Ÿ, 𓀣𓁀,
)
8 Comments
2024/10/12
11:44 UTC

183

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

17 Comments
2024/10/05
23:47 UTC

33

A Brief Overview of D##: The Language of the Future

Announcing D##: The ONLY Language of The Future (Well, That & Ruby)

We're proud to announce D##, an evolutionary jump over all known program languages.

What Is D##?

D## is a future-forward programming language with multi-paradigmancy support: OOP, DOOP, visual (AR/VR), passive aggressive, co-dependency dejection.

D##'s ultimate golazo is to give developers unspeakable power, while at the same time maintaining JavaScript-like ehh-good-enough. ^(Penultimate: move fast but stop breaking things)

D## is currently in very early development, with the aim to release a limited, non-compliable pre-Omikron language preview by end of year.

We highly support and are greatly committed to maintaining D## as a Patreon-tiered open-sourced project. pre-IPO.

Want to contribute? Head over to our Patreon page and select gold-tier for repo access!

D## Feature Set

  • Stronk type system
  • Ducky typing
  • Exception-based eventing
  • Language-level codependency dejection
  • 1st-class comments
  • Generics
    • Type embrasure
    • Half-open & half-closed generics
  • Rich BAT file ecosystem
  • Dedicated IDE via OneNote
  • Familiar syntax influenced by C#, F#, and the Cambrian Explosion
  • Mutable constants
  • Instantiable everything
  • Emoji identifiers
  • Mandatory Bulgarian notation
  • Words of affirmation upon save & build success
  • Is not PHP

D## Future Set

The following god-tier features are in-development:

  • CompiLLM (LLM-enabled compiler)
    • Misspell-tolerant & case-insensitive member access
    • Infers what you intended your source code to do and compiles that
    • JIT code reviews
    • Configurable comment prose style
  • Targeted in-source advertising
  • Subscription model
  • Season 1 DLC Pass
  • Permadeath
  • Hands-on DevEx team to "encourage" D## developers adhere to S.O.L.I.D. (New York/New Jersey ONLY)

What's Next?

Follow us on TruthSocial for the latest news & updates!

VC? DM!

9 Comments
2024/10/04
12:18 UTC

0

PSA: Always Make Sure Your Code Is Readamentable

6 Comments
2024/09/30
19:01 UTC

49

my company's docker liscense expired. When searching for alternatives, i found podman. How do I get enough whales? What kind do I need? (i'm assuming blue?)

8 Comments
2024/09/26
03:56 UTC

48

I got told to get arch for a prod server, so i took a plane to St. Louis. However, as i was harvesting it, i got screamed at by the cops. Any ideas? Is a bomb the wrong tool for the job?

12 Comments
2024/09/24
18:15 UTC

3

password must be exactly 14 characters Β  BUT WHY

1 Comment
2024/09/24
17:34 UTC

34

[Discord] If only there was an emoji that matched my search...

2 Comments
2024/08/31
11:41 UTC

93

sudo shutdown -h now to optimize

1 Comment
2024/08/31
07:48 UTC

42

POV: You barely knew PHP & SQL

10 Comments
2024/08/09
22:03 UTC

1

Do anyone help me with this error

0 Comments
2024/08/07
15:35 UTC

186

Code to return Day of the Week

6 Comments
2024/08/02
03:42 UTC

0

Saw a piece of javascript code 180 lines long written by a junior dev. Saw obvious areas of improvement. Shortened number of lines to 130. Pasted the new function in ChatGPT to know if it fared better than the previous one.

7 Comments
2024/08/01
16:11 UTC

0

[Hiring] Senior Full Stack Developer

Hi guys, we have added a new Senior Full Stack Developer job, so if you are interested in this job please check out the link below

Role - Senior Full Stack Developer πŸ§‘β€πŸ’» (Remote, Full-Time) πŸš€

Salary - $110,000 - $130,000 per year

Link - https://devloprr.com/jobs#212

1 Comment
2024/08/01
06:25 UTC

1

if(title == Dr) cust.sex = male (xpost r/trollxchromosomes)

0 Comments
2024/07/31
20:54 UTC

0

[Hiring] Junior Full Stack Developer

Hi guys, we have listed a Junior Full Stack Developer job so if you are interested in this job please check out the link

Role - Junior Full Stack Developer πŸ§‘β€πŸ’» (Remote, Full-Time) πŸš€

Link - https://devloprr.com/jobs#211

0 Comments
2024/07/31
05:17 UTC

0

[Hiring Post] Remote Python/JavaScript Developer Job

Hi guys, we have added a new Python/JavaScript Developer Job on our platform if you are looking for this job please check the below link

Role - Remote Python/JavaScript Developer Jobs πŸ§‘β€πŸ’» (Remote, Full-Time)

Description - We, at Turing, are looking for remote Python/JavaScript developers who will be responsible for writing server-side web application logic and implementing the front-end logic for web applications. Here’s your chance to accelerate your career while working with top U.S. firms. Responsibilities: - Develop back-end components and user-facing features - Write testable, reusable cod....

Link - https://devloprr.com/jobs#207

1 Comment
2024/07/27
09:33 UTC

218

What POS system is this?

74 Comments
2024/07/26
15:58 UTC

0

[Job Alert] - Full Stack JavaScript Developer

Hi Guys, we have added a Full Stack JavaScript Developer job on our platform so if you are looking for a JavaScript Developer job please check the link

Role - Full Stack JavaScript Developer πŸ§‘β€πŸ’» (Remote, Full-Time) πŸš€

Description - This a Full Remote job, the offer is available from: United States Overview: The Full Stack JavaScript Developer is responsible for developing and maintaining web and software applications that deliver exceptional user experiences. This role will collaborate with cross-functional teams to create dynamic and responsive software application solutions.

Link - http://devloprr.com/jobs

4 Comments
2024/07/25
05:37 UTC

0

Apple users be like: "I just love how smooth everything runs!" 🍏✨ Meanwhile, Windows users: *reboots for the third time this week* πŸ˜…πŸ’»

3 Comments
2024/07/22
08:15 UTC

116

UML diagram in code

2 Comments
2024/07/21
17:36 UTC

16

Rate my is_upper and is_lower functions!

bool is_upper(unsigned char ch) {
	return (0 - (((~ch & 160 | ch & 64) >> 5) - 6) & 0 - ((ch | ch >> 1 | ch >> 2 | ch >> 3 | ch >> 4) & 1) & 0 - ((unsigned char) ((ch & 31) - 27) >> 7)) == -1;
}

bool is_lower(unsigned char ch) {
	return (0 - (((~ch & 128 | ch & 96) >> 5) - 6) & 0 - ((ch | ch >> 1 | ch >> 2 | ch >> 3 | ch >> 4) & 1) & 0 - ((unsigned char) ((ch & 31) - 27) >> 7)) == -1;
}
3 Comments
2024/07/20
00:25 UTC

0

Company Debugging Competition Puzzle

A C# program is supposed to count the number of vowels in a given string. However, there seems to be a bug in the code, and it is not returning the correct count of vowels. Your task is to debug the code and fix the issue.

using System;

public class VowelCounter {
    public static int CountVowels(string str) {
        int count = 0;
        string vowels = "aeiouAEIOU";
        for (int i = 0; i < str.Length; i++) {
            if (vowels.Contains(str[i])) {
                count++;
            }
        }
        return count;
    }

    public static void Main(string[] args) {
        string input = "Hello, World!";
        int vowelCount = CountVowels(input);
        Console.WriteLine("Number of vowels: " + vowelCount);
    }
}

The bug in the code is that the program is not correctly identifying uppercase vowels due to the case sensitivity of the comparison operation. Here's the fixed code:

using System;

public class VowelCounter {
    public static int CountVowels(string str) {
        int count = 0;
        string vowels = "aeiouAEIOU";
        for (int i = 0; i < str.Length; i++) {
            if (vowels.Contains(str[i].ToString().ToLower())) {
                count++;
            }
        }
        return count;
    }

    public static void Main(string[] args) {
        string input = "Hello, World!";
        int vowelCount = CountVowels(input);
        Console.WriteLine("Number of vowels: " + vowelCount);
    }
}
7 Comments
2024/07/18
21:09 UTC

0

Junior Frontend Engineer (JavaScript/HTML/CSS) Job Alert

We just listed a new job on our job board
Role - Junior Frontend Engineer (JavaScript/HTML/CSS) πŸ§‘β€πŸ’»(Remote, Full-Time) πŸš€Payout - $58K - $74K Per Year πŸ’Έ
Check this Job onΒ http://devloprr.com/jobsΒ πŸ”—

2 Comments
2024/07/18
05:36 UTC

0

Who wants to build a world?

I'm the founder of a fantastic team which has broken down the entire us market (16840 companies) by sector. We are now back tracing for almost anything you could imagine for more ideas and new rabbit holes to jump down. It is easily the coolest project I've ever been a part of. If anyone here is interested in helping out or looking at the data please comment or dm me for a link to the server. Can't wait to meet you!

0 Comments
2024/07/17
15:25 UTC

64

Copy Pasting ChatGPT response without checking for terms and conditions in a government app. (Nari Shakti Doot)

2 Comments
2024/07/13
06:10 UTC

56

Why do they use Linux in robots?

Wouldn't it be smarter to use android? Are the scientists stupid?

10 Comments
2024/07/11
03:19 UTC

Back To Top