this post was submitted on 08 Jun 2025
300 points (97.5% liked)

Programmer Humor

24045 readers
1783 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] mindbleach@sh.itjust.works 4 points 2 days ago (1 children)
[โ€“] palordrolap@fedia.io 2 points 2 days ago

Ah. The usually implicit topical "this" didn't even occur to me because I thought, er, this, was about objects. $_ isn't used for those in Perl.

I suppose there might be some parallels with the implicit nature of $_ in non-OO contexts in Perl versus this in OO contexts in Javascript, but, at least to me, that feels pretty tenuous.