this post was submitted on 23 Apr 2026
241 points (97.6% liked)

Programmer Humor

31090 readers
645 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 22 comments
sorted by: hot top controversial new old
[–] mexicancartel@lemmy.dbzer0.com 3 points 34 minutes ago

Haha i use fortran

[–] ranzispa@mander.xyz 15 points 2 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.

[–] Fizz@lemmy.nz 13 points 3 hours ago (1 children)

Drake asks github copilot to make a for loop for him

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

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

[–] atomic@programming.dev 2 points 24 minutes ago* (last edited 22 minutes ago)
[–] Lysergid@lemmy.ml 54 points 6 hours ago (2 children)
[–] Jumuta@sh.itjust.works 36 points 5 hours ago (1 children)
[–] 30p87@feddit.org 3 points 5 hours ago (1 children)

just zoom out and go closer to the screen

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

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

[–] egrets@lemmy.world 4 points 1 hour ago (1 children)
[–] Jankatarch@lemmy.world 3 points 1 hour ago* (last edited 1 hour ago)

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

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

that's linux kernel code style

[–] lime@feddit.nu 8 points 4 hours ago (2 children)

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

[–] testaccount789@sh.itjust.works 1 points 40 minutes ago

arrays start at (offset) zero

i.e.: *(array + i)

[–] vrek@programming.dev 4 points 4 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.

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

You're taking a shitpost too seriously mate

[–] airbreather@lemmy.world 14 points 4 hours ago (1 children)

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

[–] Sickday@kbin.earth 3 points 1 hour ago

It's K.Dotnet

[–] Venator@lemmy.nz 4 points 4 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.

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

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