Aren’t fruits subsets of vegetables? Without looking it up I thought that vegetables were the edible part of the plant and fruits are edible reproductive parts of the plant. I could be totally off on that though.
Yea, you’re totally correct. This whole confusion comes from a Supreme Court case that involved tariffs though… Basically, tomatoes are a staple good and should be taxed like a regular vegetable and not receive the elevated fruit tax.
It varies by language since the meaning of fruit and vegetable are language specific but that’s universal for English. A fruit is an edible portion of a plant that contains seeds and a vegetable is an edible portion of a plant, so… all fruits are vegetables.
Ok but like, why draw the line at Massachusetts? Lol. If I make a wrong turn and end up in New Hampshire am I going to have to reevaluate my fruits and vegetables?
The joke is that almost everyone calls them vegetables because the botanic categorisation of parts of plants is niche jargon that is not useful in everyday life, whereas the culinary categorisation is useful, and so your shopping list correcting you is worse than unnecessary.
But that’s not what TypeScript does. The joke in the meme doesn’t really even make sense.
A better analogy would be you have a basket that’s explicitly labeled “Fruit” and TypeScript complains if you try to put laundry detergent in it because you said it’s supposed to be a basket of fruit.
This meme was clearly made by someone who doesn’t use or understand TypeScript.
This meme was clearly made by someone who doesn’t use or understand TypeScript.
It was made by someone who doesn’t understand types, period.
Curious if it’s the same wizard who was explaining that Linus doesn’t understand programming because he has opinions on arm vs Intel architecture. EVERYONE programs in JavaScript anyways and my JavaScript always works on arm. Has Linus lost the plot?
Well, I can’t think of an English example from the top of my head, but in German the words for Pear and (light) bulb are the same. So there are some exotic use cases.
So that the mindless automaton delivering your groceries doesn’t unexpectedly give you tomatoes for your sundae, in a future expansion to dish-based orders.
I’ve yet to create a type error that didn’t correspond to me thinking about something wrong.
Am I missing the joke? Tomatoes are fruits.
Intelligence is knowing Tomatoes are fruits.
Wisdom is knowing not to put them in a fruit salad.
Greek salad would like a word… the only things that aren’t a fruit in Greek salad are the onions and feta.
A Greek salad is not a fruit salad, it is a…Greek salad.
salad Greek extends Fruit
{ fruit* Tomato }
I think that one might be intelligence too, sorry @xmunk@sh.itjust.works.
Pragmatism is putting tomatoes with the vegetables because of taste, which is one of the most important parts of food.
Legalism is declaring in 1893 that it is a vegetable for tax purposes, because fuck you, pay taxes.
As a proud Massachusettsan, tomatoes are definitely vegetables.
(Technically, tomatoes are both fruits and vegetables)
Aren’t fruits subsets of vegetables? Without looking it up I thought that vegetables were the edible part of the plant and fruits are edible reproductive parts of the plant. I could be totally off on that though.
Yea, you’re totally correct. This whole confusion comes from a Supreme Court case that involved tariffs though… Basically, tomatoes are a staple good and should be taxed like a regular vegetable and not receive the elevated fruit tax.
i.e. Americans ruining english for the rest of the world (see also 7th day nutjobs), thanks guys…
Does this vary from place to place?
It varies by language since the meaning of fruit and vegetable are language specific but that’s universal for English. A fruit is an edible portion of a plant that contains seeds and a vegetable is an edible portion of a plant, so… all fruits are vegetables.
Ok but like, why draw the line at Massachusetts? Lol. If I make a wrong turn and end up in New Hampshire am I going to have to reevaluate my fruits and vegetables?
Oh, Massachusetts was behind them being classified as a vegetable but not a fruit for tax reasons.
The joke is that almost everyone calls them vegetables because the botanic categorisation of parts of plants is niche jargon that is not useful in everyday life, whereas the culinary categorisation is useful, and so your shopping list correcting you is worse than unnecessary.
But that’s not what TypeScript does. The joke in the meme doesn’t really even make sense.
A better analogy would be you have a basket that’s explicitly labeled “Fruit” and TypeScript complains if you try to put laundry detergent in it because you said it’s supposed to be a basket of fruit.
This meme was clearly made by someone who doesn’t use or understand TypeScript.
It was made by someone who doesn’t understand types, period.
Curious if it’s the same wizard who was explaining that Linus doesn’t understand programming because he has opinions on arm vs Intel architecture. EVERYONE programs in JavaScript anyways and my JavaScript always works on arm. Has Linus lost the plot?
Yeah most likely.
Well, that depends on definition. But the joke is why on earth would you want to write types on your shopping list? Like this:
Etc.
To be conformant with PEP-8.
Well, I can’t think of an English example from the top of my head, but in German the words for Pear and (light) bulb are the same. So there are some exotic use cases.
Why not? If a shop is having a sale on fruits only then I would like to sort out all the fruits quickly.
deleted by creator
So that the mindless automaton delivering your groceries doesn’t unexpectedly give you tomatoes for your sundae, in a future expansion to dish-based orders.
I’ve yet to create a type error that didn’t correspond to me thinking about something wrong.