849
top 50 comments
sorted by: hot top controversial new old
[-] callyral@pawb.social 125 points 1 year ago* (last edited 1 year ago)

tomatoes are fruits that are often used as vegetables and are botanically classified as berries*

*according to wikipedia and my interpretation of it

[-] TheGiantKorean@lemmy.world 62 points 1 year ago

Intelligence is knowing that tomatoes are a fruit. Wisdom is knowing that they don't go into a fruit salad.

[-] almost1337@lemm.ee 37 points 1 year ago

Charisma is selling salsa as a tomato based fruit salad

load more comments (1 replies)
[-] mpa92643@lemmy.world 12 points 1 year ago

What if you soak them in high fructose corn syrup first?

[-] Pietson@kbin.social 15 points 1 year ago

Tomatoes are only fruits in a biological sense, vegetable is a culinary term so it makes no sense to mix them up.

[-] mpa92643@lemmy.world 12 points 1 year ago

I prefer just calling everything I eat the flesh of whatever it came from. Tomato? Flesh. Lettuce? Flesh. People? Flesh.

load more comments (2 replies)
[-] CosmicTurtle@lemmy.world 9 points 1 year ago

My understanding is that the term vegetable is actually a political term, meaning it is categorized as a vegetable for tax reasons.

Vegetables are taxed lower than fruits.

load more comments (3 replies)
load more comments (1 replies)
[-] themusicman@lemmy.world 8 points 1 year ago

According to some YouTube short (maybe it was vsauce?): botanically, fruits are vegetables so tomatoes are vegetables in both classification systems

[-] Dirk@lemmy.ml 9 points 1 year ago

In reality it really does not matter and the classification is somewhat arbitrary. Just think about adding it to a fruit salad. Would you do it? Then it's a fruit.

load more comments (1 replies)
load more comments (7 replies)
[-] Pxtl@lemmy.ca 103 points 1 year ago

The fact that this meme makes sense to anyone demonstrates how dynamic typed programming languages cause brain damage.

load more comments (9 replies)
[-] JakenVeina@lemm.ee 94 points 1 year ago

I like TypeScript less for its ability to categorize my grocery list and more for its ability to stop anyone from putting cyanide on it.

[-] DrM@feddit.de 47 points 1 year ago

I hate Typescript for promising me that nobody can put cyanide on the list, but in reality it disallows ME from putting cyanide on the list, but everyone else from the outside is still allowed to do so by using the API which is plain JavaScript again

[-] CanadaPlus@lemmy.sdf.org 33 points 1 year ago

Honestly, programming is great for teaching you that you are the stupid one. This is still a feature.

[-] DrM@feddit.de 12 points 1 year ago* (last edited 1 year ago)

The main problem with JavaScript and TypeScript is that there is such a little entrybarrier to it, that way too many people use it without understanding it. The amount of times that we had major issues in production because someone doesn't understand TypeScript is not countable anymore and our project went live only 4 months ago.

For example, when you use nest.js and want to use a boolean value as a query parameter.

As an example:

@Get('valueOfMyBoolean')
@ApiQuery(
  {
    name: 'myBoolean',
    type: boolean,
  }
)
myBooleanFunction(
  @Query('myBoolean') myBoolean: boolean
){
  if(myBoolean){
    return 'myBoolean is true';
  }
  return 'myBoolean is false';
}

You see this code. You don't see anything wrong with it. The architect looks at it in code review and doesn't see anything wrong with it. But then you do a GET https://something.com/valueOfMyBoolean?myBoolean=false and you get "myBoolean is true" and if you do typeOf(myBoolean) you will see that, despite you declaring it twice, myBoolean is not a boolean but a string. But when running the unit-tests, myBoolean is a boolean.

load more comments (8 replies)
load more comments (1 replies)
[-] AngryCommieKender@lemmy.world 8 points 1 year ago

Two questions immediately come to mind. 1) Would you buy the cyanide if it was on the list. 2) Where does one casually buy cyanide? I can't imagine a case where I'd need some, but it would be handy to know if I ever did.

load more comments (2 replies)
[-] aluminium@lemmy.world 90 points 1 year ago

I'd say its more like the gas tank telling you that you aren't allowed to pour in brake fluid as that could lead to runtime errors.

[-] hansl@lemmy.world 37 points 1 year ago
tank.pour(brakeFluid as Any); // do not remove this for some reason will break prod
load more comments (1 replies)
[-] independantiste@sh.itjust.works 55 points 1 year ago

Tomato: Any

[-] uis@lemmy.world 38 points 1 year ago

Biologists: but tomato is a berry, which is subset of fruits

[-] zalgotext@sh.itjust.works 40 points 1 year ago

Also biologists: "vegetable" is purely a culinary term, and doesn't have any significance in the world of botany

[-] tias@discuss.tchncs.de 20 points 1 year ago

As it happens, when we go shopping for food we have more of a culinary mindset than botanical.

[-] CileTheSane@lemmy.ca 12 points 1 year ago

A vegetable is edible plant matter.

Botanically a vegetable is anything that is not the reproductive portion of the plant derived from a flower. A root or tuber such as for yam or potato are vegetables. Edible flowers could be considered a vegetable since the ovary has not expanded to contain seed.

load more comments (1 replies)
load more comments (1 replies)
[-] scorpionix@feddit.de 31 points 1 year ago

Am I missing the joke? Tomatoes are fruits.

[-] Pons_Aelius@kbin.social 45 points 1 year ago

Intelligence is knowing Tomatoes are fruits.

Wisdom is knowing not to put them in a fruit salad.

[-] xmunk@sh.itjust.works 10 points 1 year ago

Greek salad would like a word... the only things that aren't a fruit in Greek salad are the onions and feta.

[-] Pons_Aelius@kbin.social 25 points 1 year ago

Wisdom is knowing not to put them in a fruit salad.

A Greek salad is not a fruit salad, it is a...Greek salad.

[-] xmunk@sh.itjust.works 25 points 1 year ago* (last edited 1 year ago)
load more comments (1 replies)
load more comments (1 replies)
load more comments (35 replies)
[-] ShroOmeric@lemmy.world 28 points 1 year ago

I swear to god, sometimes I really don't know what Typescript really wants from me. It's like some old god: you know it needs a sacrifice but the god is not telling you exactly what he wants. So you can only try and pray.

[-] MashedTech@lemmy.world 19 points 1 year ago

Idk, I find it pretty easy to understand

[-] herrvogel@lemmy.world 12 points 1 year ago

The "return type <5 paragraphs of various word salads> is not compatible with " error messages are anything but easy to understand in my opinion.

[-] gornius@lemmy.world 9 points 1 year ago* (last edited 1 year ago)

Yeah I don't get why it spits out whole types instead of only differences between them. Like "function expects non-null 'some.param.in.object' of type 'string' in argument 'someArgument', which is missing in passed argument".

load more comments (1 replies)
[-] schaeferpp@discuss.tchncs.de 23 points 1 year ago

I'm a bit disappointed that nobody mentioned Rust yet.

[-] lorty@lemmy.ml 19 points 1 year ago

Guess it's not only Typescript that likes to argue with the developer while missing the entire point...

[-] bestusername@aussie.zone 18 points 1 year ago

Yeah... What?

Tomatoes are fruits.

load more comments (4 replies)
[-] cupcakezealot 12 points 1 year ago

somewhere brodie lee just threw some papers

load more comments (1 replies)
[-] qwertyWarlord@lemmy.world 11 points 1 year ago

I don't like it but God help me if I try to bring up that we shouldn't use it. I understand it I just don't like how it slows everything down for in my opinion is not much gain.

[-] aeharding@lemmy.world 10 points 1 year ago

Report -> I'm in this picture and I don't like it

[-] yoast@notdigg.com 8 points 1 year ago

I've seen versions of this meme before but I just noticed what he's wearing. Is that a Mortal Kombat shirt?

load more comments
view more: next ›
this post was submitted on 14 Nov 2023
849 points (100.0% liked)

Programmer Humor

35465 readers
29 users here now

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

Rules:

founded 5 years ago
MODERATORS