520
you are viewing a single comment's thread
view the rest of the comments
[-] Jambalaya@lemmy.zip 14 points 2 days ago

Isn't self not actually a keyword? Like you can name the first variable in a class method anything and it will behave like self.

[-] Diplomjodler3@lemmy.world 17 points 2 days ago

You could use "this" instead of "self". And if you want a lynch mob of Python programmers outside your house, make a push request with that to some commonly used package.

[-] pastermil@sh.itjust.works 13 points 2 days ago

I think there will be a lynch mob of git users outside your house for calling PR as "push request".

[-] Diplomjodler3@lemmy.world 10 points 2 days ago* (last edited 2 days ago)

I've been wondering about the noise.

Edit: turns out, they weren't there to lynch me. They just gave me a two hour lecture on proper usage of git.

[-] naught@sh.itjust.works 3 points 2 days ago* (last edited 2 days ago)

TECHNICALLY, there is no such thing as a pull request in git. That's a Github convention. It's really a merge request

e: drat someone already out-pedantic'd me

[-] lime@feddit.nu 8 points 2 days ago

only github users. git itself doesn't have PRs, and other forges call them different things. gitlab calls them merge requests, pico calls them patch requests...

[-] mkwt@lemmy.world 1 points 2 days ago

You could even choose the name this.

this post was submitted on 08 Jun 2025
520 points (97.6% liked)

Programmer Humor

36340 readers
519 users here now

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

Rules:

founded 5 years ago
MODERATORS