this post was submitted on 01 Nov 2024
1306 points (99.2% liked)

Programmer Humor

32503 readers
432 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] tetris11@lemmy.ml 156 points 2 weeks ago (12 children)

Workaround: Potato peeler extends peeler, so just cast your carrots as potatoes before you peel them, and then cast them back to carrot afterwards

[–] ThunderComplex@lemmy.today 27 points 2 weeks ago (1 children)

Unfortunately, casting from potato to carrot is a narrowing conversion so your new carrot will lose some properties

[–] tetris11@lemmy.ml 24 points 2 weeks ago

You say "potato" I say "caroto"

load more comments (10 replies)