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

Programmer Humor

32464 readers
434 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
[–] [email protected] 158 points 1 week 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

[–] [email protected] 27 points 1 week ago (1 children)

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

[–] [email protected] 23 points 1 week ago

You say "potato" I say "caroto"

load more comments (10 replies)