38
you are viewing a single comment's thread
view the rest of the comments
[-] jdr@lemmy.ml 4 points 1 year ago

Young man, could.you explain your shitpost?

[-] Lux 2 points 1 year ago

I said, young man, what the fuck was that post?

[-] fiah@discuss.tchncs.de 2 points 1 year ago

int variable => local scope => my int from the perspective of an instance

static int variable => class scope => our int, for all instances of a class

[-] Bear_with_a_hammer@lemmy.ml 1 points 1 year ago

You know what's funny? In PHP it's backwards :D

[-] fiah@discuss.tchncs.de 1 points 1 year ago

well of course it is!

this post was submitted on 21 Jun 2023
38 points (100.0% liked)

Programmer Humor

32497 readers
472 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS