348
all 31 comments
sorted by: hot top controversial new old
[-] Lysergid@lemmy.ml 74 points 1 day ago
[-] Jumuta@sh.itjust.works 48 points 1 day ago
[-] 30p87@feddit.org 3 points 1 day ago

just zoom out and go closer to the screen

[-] Jankatarch@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

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

[-] egrets@lemmy.world 9 points 1 day ago
[-] Jankatarch@lemmy.world 4 points 1 day ago* (last edited 1 day ago)

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

[-] lime@feddit.nu 1 points 1 day ago

that's linux kernel code style

[-] ranzispa@mander.xyz 25 points 1 day 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 19 points 1 day ago

Drake asks github copilot to make a for loop for him

[-] dditty@lemmy.dbzer0.com 21 points 1 day ago

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

[-] atomic@programming.dev 7 points 1 day ago* (last edited 1 day ago)
[-] PantaloonMonsoon@sh.itjust.works 6 points 23 hours ago

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

[-] fleem@piefed.zeromedia.vip 3 points 21 hours ago

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 19 hours ago
[-] lime@feddit.nu 14 points 1 day ago

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

[-] testaccount789@sh.itjust.works 2 points 1 day ago

arrays start at (offset) zero

i.e.: *(array + i)

[-] Cargon@lemmy.ml 1 points 1 day ago

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

[-] lime@feddit.nu 2 points 22 hours ago* (last edited 22 hours ago)

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

[-] Cargon@lemmy.ml 1 points 21 hours ago

I am agreeing with your distinction between indices and offsets.

[-] lime@feddit.nu 2 points 21 hours ago

in a very agressive way. hence coffee.

[-] vala@lemmy.dbzer0.com 2 points 20 hours ago

He uses lua

[-] JohnAnthony@lemmy.dbzer0.com 4 points 1 day ago

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

[-] mexicancartel@lemmy.dbzer0.com 4 points 1 day ago

Haha i use fortran

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

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

[-] Sickday@kbin.earth 3 points 1 day ago

It's K.Dotnet

[-] Venator@lemmy.nz 4 points 1 day 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 1 day ago* (last edited 1 day ago)

You're taking a shitpost too seriously mate

[-] Codpiece@feddit.uk 1 points 1 day ago

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

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

Programmer Humor

31092 readers
432 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