this post was submitted on 07 Jan 2024
1 points (100.0% liked)

Programmer Humor

19171 readers
1433 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 24 comments
sorted by: hot top controversial new old
[–] xmunk@sh.itjust.works 2 points 8 months ago (1 children)

Elon Musk loves to speak confidently about shit he knows nothing about. This leads to him being a confident speaker on every topic... I just wish we could figure out a way to shut him up.

[–] Stern@lemmy.world 0 points 8 months ago (1 children)
[–] hemmes@lemmy.world 0 points 8 months ago (1 children)

Maybe I'm out of the loop - what's he been saying about software?

[–] Draghetta@lemmy.world 0 points 8 months ago (1 children)

This post’s image man

It’s not that hard(tm)

[–] hemmes@lemmy.world 0 points 8 months ago (1 children)

Oh. This post's image has him talking types in January and the "obligatory" image above has someone saying he's been talking software in December, so I thought maybe Musk has been spewing about software for a few weeks or something.

[–] Squibbles@lemmy.ca 0 points 8 months ago (1 children)

December from '22 not '23. The image was from a few months after he took over twitter and was still going on about that stuff and how it was doing all these useless things that needed to be removed or rewritten. I just remembered another one about how he was going on about a single request to twitter causing thousands of RPCs or something? I think that's not really unheard of in a microservices infrastructure and it's not like they'd be synchronous. There's probably tons of calls that go to things like tracking, analytics, or cross DC sharing I would imagine for such a large and high volume service like twitter.

[–] bleistift2@feddit.de 0 points 8 months ago

needed to be removed or rewritten

Literally any developer can tell you that. It doesn’t even matter what codebase we’re talking about. It always needs to be rewritten.

[–] HairHeel@programming.dev 0 points 8 months ago (1 children)

I tend to think people shit on Musk more than they should, but holy shit does it bug me when a CEO talks about engineering problems with such bravado.

[–] ShaggySnacks@lemmy.myserv.one 1 points 8 months ago

He talked about electric cars. I don't know anything about cars, so when people said he was a genius I figured he must be a genius.

Then he talked about rockets. I don't know anything about rockets, so when people said he was a genius I figured he must be a genius.

Now he talks about software. I happen to know a lot about software & Elon Musk is saying the stupidest shit I've ever heard anyone say, so when people say he's a genius I figure I should stay the hell away from his cars and rockets.

Rod Hilton about Elon Musk.

[–] Thorry84@feddit.nl 0 points 8 months ago (3 children)

Yes the compiler/interpreter can figure it out on the fly, that's what we mean by untyped languages. And as stated both have their merits and their faults.

Elon doesn't know what the words mean and just chimes in with his AI future BS.

[–] Blue_Morpho@lemmy.world 0 points 8 months ago (1 children)

And as stated both have their merits and their faults.

Yes! Just because a compiler could guess the type doesn't mean it should. Elon didn't understand the meme at all.

[–] AVincentInSpace@pawb.social 0 points 8 months ago (1 children)

why would you not want it to? what circumstance, other than an integer not given an explicit type, could it guess wrong?

[–] RepulsiveDog4415@feddit.de 0 points 8 months ago

Well, if there is nof fixed (explicit or implicit) type it's imposible for the compiler to optimise your code. Also imho programming with typed languages is way easier because your IDE can recognize function argumentd before you compile/run. I tried python and found it baffling how anyone can get any work done with it :D

[–] janAkali@lemmy.one 0 points 8 months ago* (last edited 8 months ago) (1 children)

Yes the compiler/interpreter can figure it out on the fly, that's what we mean by untyped languages.

Are there untyped languages? You probably meant 'dynamically typed languages'.

But even statically typed languages can figure out most types for you from the context - it's called 'type inference'.

[–] nul@programming.dev 1 points 8 months ago

Most of my code is untyped. First I type it, then I realize it's all wrong and use backspace to untype it.

[–] Sharpiemarker@startrek.website 0 points 8 months ago (1 children)

Untyped as in written? Or is this programming term I'm not familiar with?

[–] RagingRobot@lemmy.world 0 points 8 months ago* (last edited 8 months ago)

By typed they mean declairing a type for your variables.

In some languages, variables needs to be told what kind of data they can hold. That's it's type. For instance a number without decimals would be an integer type. While text might be a string type or a list of character types.

Other languages don't require types and sometimes don't even support them. They will just infer the type from the data that's in the variable.

If you see Elon Musk please explain this to him.

[–] Skates@feddit.nl 0 points 8 months ago (1 children)

I constantly feel the need to argue with this dumb fuck and his 99% wrong opinions. I usually have to take a step back, remember it's not worth it, and then move on. It would be a great help if I had a Firefox add-on that precedes all of musk's tweets with "retard weighing in: ", just as a reminder that he's also allowed a point of view, despite his mental issues.

[–] haui_lemmy@lemmy.giftedmc.com 0 points 8 months ago (2 children)

Pretty sure you‘re only using the r-bomb and „mental issues“ in a joking way but its kind of not funny.

Musk is a spoiled, unempathetic, overhyped idiot who claims to be autistic… perfect example that autistic people can be cretins as well.

But a lot of autistic people are getting called the r-word and its not ok. Mental (health) issues are not a stigma. They are okay and normal. Being an asshole isnt normal or okay though.

[–] Gabu@lemmy.world 1 points 8 months ago (1 children)

By definition you can't be normal if you're neurodivergent...

[–] haui_lemmy@lemmy.giftedmc.com -1 points 8 months ago (1 children)

No idea if you‘re trying to offend people but „not normal“ is a term used to exclude people from a social group. https://en.wiktionary.org/wiki/normal

The term used to distinguish from is „typical“.

[–] Gabu@lemmy.world 0 points 8 months ago (1 children)

From the very source you provided:

[...] by Late Latin normālis had also come to mean "according to a rule", from which modern English senses of the word derive: in the 1800s, as people began to quantitatively study things like height and weight and blood pressure, the usual or most common values came to be referred to as "normal", and by extension values regarded as healthy or desirable came to be called "normal" regardless of their usuality.

I don't think anyone of sane mind would argue against the notion that it's more desirable, and by definition healthier, to be born neurotypical than neurodivergent.

[–] haui_lemmy@lemmy.giftedmc.com -1 points 8 months ago

just exchange the word neurodivergent with black or jewish and neurotypical with white or christian and you see the problem.

Provided you are “sane”.

[–] Duke_Nukem_1990@feddit.de -1 points 8 months ago

Yesh kinda weird how ok a lot of the users here are with using the r-word slur.