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

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

You say “potato” I say “caroto”

To cast them, it uses libvegs however. It is not available in any standard package libraries, so just quickly build it from source

NaibofTabr
link
fedilink
English
6123d

Yeah but the current build of libvegs has some conflicts with libfruit, so if you need to use both you have to build libvegs in a different directory and then simlink it in /lib.

Tomato keep being casted as fruit, even that for any practical purpose it should be as vegetable

@tetris11@lemmy.ml
link
fedilink
33
edit-2
22d

That’s it, let’s re-write the entire backend in C++ to make use of multiple inheritance to tackle this one use-case!

What do you mean “this is overkill”? Do you have any idea how many tomatoes go into a fucking salad!?

Someone should do it in rust now

Tiefling IRL
link
fedilink
623d

Yeah but that’s all my replacement’s problem to deal with

Maybe cooking isn’t for me.

If you forget the second step, well, that’s what sweet potatoes are.

Internal screaming.

mesamune
link
fedilink
English
1522d

I hate that I understand this. Well done.

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 159 users / day
  • 317 users / week
  • 704 users / month
  • 2.84K users / 6 months
  • 1 subscriber
  • 1.57K Posts
  • 34.8K Comments
  • Modlog