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

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] tetris11@lemmy.ml 160 points 9 months 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 9 months ago (1 children)

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

[–] tetris11@lemmy.ml 22 points 9 months ago

You say "potato" I say "caroto"

load more comments (10 replies)