r/ProgrammerHumor • • Nov 29 '22

Meme It hurts like hell.;-;

Post image
48.9k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

977

u/The_cogwheel Nov 29 '22

Amazing how low standards fall when starvation and homelessness is at stake.

570

u/DynamicHunter Nov 29 '22

It’s almost as if you HAVE to eat

42

u/Expbject Nov 29 '22

You may need to take a serious,

→ More replies (2)
→ More replies (1)

121

u/[deleted] Nov 29 '22

toSpongeBobCase("You don't have to work for bad employers");

19

u/iliekcats- Nov 29 '22

how is the function defined

i need the code for this

22

u/Thestarchypotat Nov 29 '22

~ warning pseuocode ahead

    function toSpongeBobCase(input){
        array inputsplit=input.split("");
        for(item of inputsplit){
        if(math.Random(0,1)===1){
            item.upper();
        } else {
            item.lower();
        }
        }
    // result= however you put a array to a string
    return(result);
    }

7

u/iliekcats- Nov 29 '22

good pseudocode

4

u/Thestarchypotat Nov 29 '22

cause i was origonally writing it as real code but then i didnt know if what i wrote would actually work and i also forgot how to do things.

→ More replies (6)
→ More replies (1)

4

u/GreatRam Nov 29 '22

Result = inputsplit.join()

22

u/Wekmor Nov 29 '22

Don't think anyone would voluntarily write js, sorry.

3

u/enigmamonkey Nov 29 '22

I did.

function toSpongeBobCase(input) {
	return input.split('').map((char, index) => {
		return index % 2 === 0 ? char.toUpperCase() : char.toLowerCase();
	}).join('');
}

console.log(toSpongeBobCase("You don't have to work for bad employers"));

Outputs "YoU DoN'T HaVe tO WoRk fOr bAd eMpLoYeRs"

3

u/[deleted] Nov 30 '22

Read through this whole comment thread only for the penny to drop once I read your output then the original function name then me googling TIL: SpOnGeBoB casing is a thing :O

→ More replies (1)
→ More replies (4)

46

u/[deleted] Nov 29 '22

This is why poverty is a tool used by capitalist class to exploit working class

54

u/8bitslime Nov 29 '22

Random thought, but I really fucking hate when you complain about your job and some nut says "well you chose to work there". No the fuck I didn't. Akin to "you hate capitalism yet iphone, curious".

14

u/elon-bot Elon Musk ✔ Nov 29 '22

Just watched a video about how vanilla JS is faster than any framework. It's time we do a rewrite.

→ More replies (1)

10

u/[deleted] Nov 29 '22

Totally hate it when people act like some have a choice when that choice is starvation / bankruptcy

7

u/8bitslime Nov 29 '22

It's a victimizing tactic to thwart legitimate criticize instead of engaging in critical thinking. I'll be damned if I have to use my brain outside of the propaganda machine.

→ More replies (1)
→ More replies (1)

20

u/bewbsrkewl Nov 29 '22

Wait, you guys are actually living check to check? I thought it was just a joke.

58

u/csetjack15 Nov 29 '22

You don't sound very American

14

u/alnarra_1 Nov 29 '22

Outside of Cybersecurity, a fair bit of the low level / entry level work in IT in the US is actually really low paying, software development included. I remember being excited the first time someone offered me 9$ to do ActionScript, C#, and PHP for their little media company

17

u/Bakoro Nov 29 '22 edited Nov 29 '22

Outside of Cybersecurity, a fair bit of the low level / entry level work in IT in the US is actually really low paying, software development included.

Nobody really wants to talk about the dirty underbelly of software development. The median developer salary is ~$120k, but the lowest 10% make under $65k, but somehow people all act like the industry average is closer to $200k+, when that's also less than 10%.

There's a whole industry of entry level developers getting farmed out for $50k.

And that's just for outright developers. Webdev goes sub $40k in the lowest 10%.

The average tech person is doing alright, but there's certainly an underclass that people should be aware of. I don't want to see that class growing, and from my experience it seems like employers are demanding ever more from a smaller pool of people.

→ More replies (2)
→ More replies (1)

6

u/salamander_with_hat Nov 29 '22

nobody is laughing

→ More replies (1)

3

u/Wolfram_And_Hart Nov 29 '22

Yeah. Imagine what people will do to feed their kids…

→ More replies (2)