programmer_humor

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

Donkter, in It's that time of the year again!

The beginning maps perfectly to “The Distance” by Cake and I was singing along to that tune as I read.

docAvid,

Cut to Mrs Claus baking a spice cake:

She’s all alone, all alone, in her time of spice

NoneYa, in Dev rule

But we’re still flying for now!!

pewpew, in Bill is a pro grammer
@pewpew@feddit.it avatar

Code looks better without comments

BaardFigur, (edited )

Comment smart, don’t comment every line like this

int i = 5; // Assigns the value 5 into the variable i.

Maalus,

Comment only in extraordinary situations, when something you read can confuse someone. And by that I mean the business logic, not that you used a method that’s confusing to people since they only know the basics of the language.

Sylvartas, (edited )

Honestly, after a few years of working with juniors (and being one myself before that), I have to disagree with the last part. Sure, it’s fine for solo projects but people’s programming skills can vary heavily. I know people who will pull the wildest C++ compile time tricks you’ve ever seen, but a pointer to a pointer would somehow break their brain.

stebo02,
@stebo02@sopuli.xyz avatar

I usually comment on whole groups of lines of code, so the goal of each part of the code is clear

RagingRobot, (edited )

I would disagree. I love to use comments to format my code and separate the sections. I think it’s so beautiful. Also I love when libraries have ASCII art in the comments at the top of the main file lol. It makes the code more fun in my opinion.

I went to college with a guy who would treat the code as art when presenting projects. His code was always beautiful. Not super functional but always beautiful. It always stuck with me. I want my code to always be functional and beautiful. Easy to read and a pleasure to work with. That’s my goal at least. Comments help with that.

Also it depends on what the code is for haha

floofloof, in Infinite Loop

Can we arrange some swaps? I’m not getting paid enough and neither are you.

BatmanAoD, in Programming: The Horror Game

The animation that goes with this is pretty slick: x.com/Phantom_TheGame/status/1748457358521426375?…

fl42v, (edited ) in ifn't

This has to be illegal. I mean, it’s basically suicide incitement (or whatever is the phrase for it)

aluminium, in Fitbit Clock Face

You can connect to a vscode server on a Galaxy Watch, just sayin’

HiddenLayer5, (edited ) in Rust project startup kit
@HiddenLayer5@lemmy.ml avatar

For people who don’t know, there is already a fully Rust OS: www.redox-os.org

Microkernel too which is pretty cool.

rambling_lunatic,

IIRC the filesystem was literally just a text file.

spez,

I have heard about Redox. What’s the difference between a microkernel and a kernel? Does redox use the linux kernel? Or has the guy written that in rust too?

vrighter,

lots and lots more IPC. So lots and lots of context switches. So worse performance

Digital_man, in Always

Been trying to understand why I’m like this and I’m noticing the minute the sun starts going down , I become more focused.

I think this is because the sun is no longer a massive glaring ball of gas my brain has to manage.

I can’t tell if my hypothesis has any scientific validity but it’s what I tell my managers.

sudo_shinespark, in Always

Replace those first two panels with sneaky napping and this is perfect

floofloof, in Happy New Year Coders.

Oh, those are arms. I thought the moustache was a bit too stylish for the character.

tacosplease, in The Holy Trinity of JavaScript

As a person who is coding adjacent (I work with basic SQL and VBA, once learned but never used HTML & CSS, learned some C+, some JavaScript…) I don’t fully understand most of the memes here, but it feels like I’m learning a bit through immersion like being a non-native speaker in a foreign land. It’s a fun ride.

akkajdh999, in GitHub Desktop or Git CLI?

lazygit:

dukk,

Freaking love TUIs, it’s like they took the convenience of a GUI and the efficiency of the CLI and merged them. As a Neovim and Lazygit user myself it’s amazing what I can accomplish in but a few keypresses.

Jesus_666, in GitHub Desktop or Git CLI?

Fork.

scottyjoe9,

All hail the fork!

SHBI7368, in It's that time of the year again!

Love it keep em coming

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmer_humor@programming.dev
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #