791
Leave it alone (lemmyf.uk)
submitted 8 months ago by willya@lemmyf.uk to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] stockRot@lemmy.world 2 points 8 months ago
[-] kogasa@programming.dev 2 points 8 months ago* (last edited 8 months ago)

Skip. As in, "drop the first 5 elements of this iterable." dropwhile is "drop each element until the given predicate is satisfied." It's really not that obscure, I dunno what the original commenter is on about

[-] docAvid@midwest.social 2 points 8 months ago

Yeah, I'm not even a python dev, I knew what dropwhile did immediately from the name. Some people just don't want to learn anything new, ever.

this post was submitted on 06 Jan 2024
791 points (96.4% liked)

Programmer Humor

32079 readers
361 users here now

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

Rules:

founded 5 years ago
MODERATORS