this post was submitted on 23 Apr 2026
348 points (97.0% liked)

Programmer Humor

31090 readers
869 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 2 years ago
MODERATORS
 
all 31 comments
sorted by: hot top controversial new old
[–] vala@lemmy.dbzer0.com 2 points 2 hours ago

He uses lua

[–] fleem@piefed.zeromedia.vip 3 points 3 hours ago (1 children)

I am so much more down for the memes about fictionalised genius of famous people, where we end up learning a little something

as opposed to the fictional CEO of sex, especially when its in the vein of some stupid FPS from 2012

yay

[–] FEIN@lemmy.world 1 points 49 minutes ago

This is why he told Drake he better never go to cell block 1 instead of cell block 0.

[–] ranzispa@mander.xyz 25 points 9 hours ago

Clearly Kendrick Lamar started programming in the 70s in Fortran, had a small flirt with MATLAB and ended up using Julia in the end.

I didn't know he was so strong in scientific computing.

[–] JohnAnthony@lemmy.dbzer0.com 4 points 7 hours ago

Beginner mistake, which is perfectly fine! Just use i-1 inside the loop and i <= values.Length as the condition.

[–] Fizz@lemmy.nz 19 points 10 hours ago (1 children)

Drake asks github copilot to make a for loop for him

[–] dditty@lemmy.dbzer0.com 21 points 8 hours ago (1 children)

Drake is too busy trying to clean up his work with child processes

[–] atomic@programming.dev 7 points 7 hours ago* (last edited 7 hours ago)
[–] Lysergid@lemmy.ml 74 points 13 hours ago (2 children)
[–] Jumuta@sh.itjust.works 48 points 13 hours ago (1 children)
[–] 30p87@feddit.org 3 points 12 hours ago (1 children)

just zoom out and go closer to the screen

[–] Jankatarch@lemmy.world 2 points 8 hours ago* (last edited 8 hours ago) (1 children)

I read it as if they are calling java "C for smartphones" instead lmao.

[–] egrets@lemmy.world 9 points 8 hours ago (1 children)
[–] Jankatarch@lemmy.world 4 points 8 hours ago* (last edited 8 hours ago)

Oh shit, it is. Didn't notice the ".Length"

[–] lime@feddit.nu 1 points 11 hours ago

that's linux kernel code style

[–] mexicancartel@lemmy.dbzer0.com 4 points 7 hours ago

Haha i use fortran

[–] lime@feddit.nu 14 points 11 hours ago (3 children)

arrays start at (offset) zero. lists start at (position) one. fight me.

[–] Cargon@lemmy.ml 1 points 6 hours ago (1 children)

Only edge lords still mentally stuck in CS101 conflate indices and offsets.

[–] lime@feddit.nu 2 points 4 hours ago* (last edited 4 hours ago) (1 children)

good morning to you too. remember to have your coffee before going on the internet.

[–] Cargon@lemmy.ml 1 points 2 hours ago (1 children)

I am agreeing with your distinction between indices and offsets.

[–] lime@feddit.nu 2 points 2 hours ago

in a very agressive way. hence coffee.

[–] testaccount789@sh.itjust.works 2 points 7 hours ago

arrays start at (offset) zero

i.e.: *(array + i)

[–] vrek@programming.dev 4 points 11 hours ago (3 children)
  1. I never mock those who are trying to learn.

  2. Why is he starting with c/c++? Yes they have uses but not as a starter just playing around.

  3. I struggled with this initially too cause I didn't understand why. Most people would say "give me the first object". In reality your requesting an offset * size of each item + list start.

[–] airbreather@lemmy.world 19 points 11 hours ago (1 children)

This sure looks like C# to me, not C/C++

[–] Sickday@kbin.earth 3 points 8 hours ago

It's K.Dotnet

[–] Venator@lemmy.nz 4 points 11 hours ago
  1. Why is he starting with c/c++? Yes they have uses but not as a starter just playing around.

sometimes it's not interesting enough to keep someone's attention if it's just "playing around": some people need to feel like what they're working on while learning has a real purpose, and some purposes have to use C++ (e.g. Arduino)

sure it might not be the most effective or efficient way to learn, but it can be more motivating.

[–] baatliwala@lemmy.world 1 points 8 hours ago* (last edited 8 hours ago)

You're taking a shitpost too seriously mate

[–] Codpiece@feddit.uk 1 points 12 hours ago

What’s worse, starting at 1 or using AI to write it for you?