this post was submitted on 01 Nov 2024
1328 points (99.1% liked)

Programmer Humor

32549 readers
493 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 161 points 3 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 28 points 3 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 3 weeks ago

You say "potato" I say "caroto"

load more comments (10 replies)