this post was submitted on 19 Jun 2023
295 points (99.3% liked)

Programmer Humor

19519 readers
392 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] maiskanzler@feddit.de 9 points 1 year ago (1 children)

And that's why post- and pre-increment is non-existant in Python and Rust. It's an easy source for bugs for a noncritical abbreviation🤷

[–] Knusper@feddit.de 2 points 1 year ago (1 children)

They're especially also a source of bugs, because they encourage manually incrementing indices and manually accessing array positions, which is almost never actually sensible.

[–] argv_minus_one@beehaw.org 2 points 1 year ago

I love iterators so much.