There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

tunetardis , in Unused variables

Compiler/interpreter: Can’t find variable farfignewton.

Earlier:

Me: Declare variables near, far

IDE: Oh! You mean farfignewton right? I found that in some completely unrelated library you didn’t write. Allow me complete that for you while you’re not paying attention.

gregorum ,

thank you for flooding my memory with a bunch of silly 90s car commercials

frezik ,

And people wonder why I stick to Vim.

lud ,

I mean, if you want something dumb you can use any text editor.

frezik ,

Yes, compared to the annoyances of “smart” IDEs, I do want something dumb.

FizzyOrange ,

No I’m good with smart IDEs. Anyway don’t people set up Vim as practically an IDE these days anyway? That’s what Vim users always tell me.

frezik ,

The advantage there is that you pick and choose how you turn things on, so you leave out the annoying bits.

tunetardis ,

One thing most text editors can do is print. I was shocked the other day when I couldn’t print a readme from vscode when someone asked for hard copy.

lud ,

Print?

Why would you ever need to print?

Threeme2189 ,

when someone asked for hard copy.

bitcrafter ,

Because some of us are bitter at the trees for generating so much pollen at this time of year and want revenge.

lud ,

That’s fair, I didn’t think of that.

andnekon ,

using lsp in vim has pretty much the same problem especially with java

elxeno ,

near, far

The obvious autocomplete is , wherever you are

tunetardis ,

This is why I fear activating any AI features in the IDE.

RagingRobot ,

Then it automatically imports the library for you too lol

dojan ,
@dojan@lemmy.world avatar

Visual Studio: PROPERTY DOESN’T EXIST ON TYPE!! NOTHING EXISTS ANYMORE!!! REALITY HAS COLLAPSED!

Me: What? I haven’t even touched that class, let me check.

Visual Studio: Oops, nevermind, héhé 🙃

DacoTaco ,
@DacoTaco@lemmy.world avatar

I swear to god this didnt used to be a problem few years ago. However im having that bug constantly now…

dojan ,
@dojan@lemmy.world avatar

Yeah, I also feel like it’s fairly recent.

brisk , (edited )

I try my best to make my IDEs follow the principal that I should be able to type without looking at the screen, but apparently IDEs are really invested in return accepting completions to the point it’s often not configurable even when every other key is.

ValiantDust , in Unused variables

But are you gonna return something for this method??? You said you’d return an integer, yet there is no return statement!

gregorum ,

and it had better be an integer! it had better be an integer, motherfucker!!

porous_grey_matter ,

Well yea… If you write “return <object of some other type>” that is actually wrong, as opposed to just not having gotten around to filling it in yet

gregorum ,
sik0fewl ,

This is why I always write my methods from bottom to top. This way I’ve always got a return statement and I use my variables before they are even declared.

NightAuthor ,

For a second there I thought you might be serious

ShouldIHaveFun ,

I do actually use variables before I declare them most of the time. IDEs make it so easy to then generate the declaration with the correct type.

NightAuthor ,

That’s true, in fact I’ve started doing that myself. Same with methods, instead of going and writing the method and then coming back to use it, I’ll write the invocation first.

N0tTheBees ,
@N0tTheBees@sh.itjust.works avatar

Ah an avid dreambird user I see

bitcrafter ,

Spotted the INTERCAL programmer.

TechNerdWizard42 , in Some of my iterations are delightfully recursive

Ah yes the X86 instruction set for mapping.

Everything is a conditional branch loop. Always has been.

Username ,

There also isn’t a loop instruction though.

TechNerdWizard42 ,

It’s a conditional branch… You make that into a loop. Branch if zero, branch if not zero, etc.

MehBlah , in What if we added a social component like "Stories" to this calculator app?

This is how smart shuffle was born on spotify. No one wants that useless shit.

Quill0 , in I feel proud of myself to recognize that this iconic dude is not at a 'computer', rather, a [dumb] terminal! ]Or...?]
@Quill0@lemmy.digitalfall.net avatar

He’s literally at an IBM PC/XT or clone

MrTHXcertified , in The perfect commit message

I’m getting GlaDOS vibes from this one.

nnrx , in The perfect commit message

Press and hold firmly for 30 seconds

sum_yung_gai , in Some of my iterations are delightfully recursive

Immutable in order to protect against parallel code changing the size of the iterable?

Donkter ,

Immutable because the only lists worth iterating over are the ones I define for myself.

penquin , in The perfect commit message

Copilot do be high sometimes.

CosmicTurtle0 , in The perfect commit message

I know that this isn’t the point but I absolutely can’t stand the word “juice” to describe meat drippings.

Juice is from a fruit! When I see juice to describe meat drippings, all I can think of is someone squeezing a big steak and squeezing all the “juice” out.

Anyway, commit message is on point. Add a small pinch of flour to thicken the “juice” and you’ll have gravy.

humorlessrepost ,

What would you prefer it be called? It’s not blood, despite common misconceptions.

cafeinux ,

“Meat flavoured water”

bdonvr ,

Meat-fluids

blandfordforever ,

Exudate

Maven OP ,
@Maven@lemmy.world avatar

Meat-tea

CosmicTurtle0 ,

Meat drippings.

Deceptichum ,
@Deceptichum@sh.itjust.works avatar

From Middle English jus, juis, from Old French jus, jous, from Latin jūs (“broth, soup, sauce”), from Proto-Indo-European *yúHs, from *yewH- (“to mix (of meal preparation)”).

Sounds like the right word to me.

You sound like one of those people who take issue with non-dairy milks being called milks too.

ryven ,
@ryven@lemmy.dbzer0.com avatar

Is that bad? I love almond milk but I feel like it deserves its own word. :P

Deceptichum ,
@Deceptichum@sh.itjust.works avatar

Yes, it’s the rallying call of the dairy industry lobbyists trying to force ownership of a word and to hurt the sales of non-dairy milks.

Milk has referred to all manner of white thick drinking liquids for at least 800 years now, it is not solely the domain of animals.

towerful ,

Like man milk

orphiebaby ,

Jesus. Citation seriously needed.

orphiebaby ,

I agree, we need more words. We lose words all the time, too, due to assumptive abuse.

Tylerdurdon , in The perfect commit message

Just roll with it. Let’s see if anyone is even reading those.

fidodo ,

I write my commit messages for myself in the future so future me can figure out what the hell past me was thinking

northendtrooper , (edited ) in The perfect commit message

AI is going to replace my sheets, that should be changed once a week to maintain a high level of hygiene.

Anticorp , in I feel proud of myself to recognize that this iconic dude is not at a 'computer', rather, a [dumb] terminal! ]Or...?]

Except the computer is right there in the picture, it’s what the monitor is sitting on top of.

uservoid1 , in The perfect commit message

Keeping the chicken in the oven could lead to nasty bugs

Patches ,

That’s not true. Chickens are fantastic at getting rid of bugs.

Got a tick problem? Not anymore.

However you will now have rodent problems and require something to take care of that: Terriers are great at that. So are cats.

bort ,

However you will now have rodent problems

chicken got you covered on that front too www.youtube.com/watch?v=iubf1oJdQQQ

Patches ,

Will they eat the rodents? Yes. They will eat anything. edible or not.

Will you still have a rodent problem? Yes you will.

Kolanaki ,
@Kolanaki@yiffit.net avatar

…she swallowed the horse to catch the cow, she swallowed the cow to catch the goat, she swallowed the goat to catch the dog, she swallowed the dog to catch the cat, she swallowed the cat to catch the bird, she swallowed the bird to catch the spider (that wriggled and jiggled and tickled inside her), she swallowed the spider to catch the fly. I don’t know why she swallowed the fly. Perhaps she’ll die. 🤷🏻‍♂️

gregorum ,

On a hole on bottom of the sea…

wreckedcarzz ,
@wreckedcarzz@lemmy.world avatar

For the first few words, I thought this was going a very different direction

pearsaltchocolatebar , in I feel proud of myself to recognize that this iconic dude is not at a 'computer', rather, a [dumb] terminal! ]Or...?]

Not just confidently incorrect, but proudly incorrect.

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

And even if they were correct, what’s the big deal? I spend half my life ssh’d into other machines, it means nothing what they’re sitting in front of

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines