this post was submitted on 26 Feb 2024
197 points (80.3% liked)

Showerthoughts

29233 readers
578 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 6 months ago (1 children)

We've had a ton of debates in my object oriented programming classes about the cube rule of food. Representing it using classes and inheritance with varying food types can be fun:

https://kottke.org/plus/misc/images/cube-rule-food-01.jpg

[–] [email protected] 3 points 6 months ago (1 children)

So a hot-dog is a taco? is a burrito sushi? beans and rice a salad? Beef wellington a calzone?

[–] [email protected] 1 points 6 months ago (1 children)

I think to be organized you'd pick one cuisine as a base object. So if a hotdog is a taco, then beef wellington is a burrito (bread on all sides) as is a calzone.

[–] [email protected] 1 points 6 months ago (1 children)

I'm sorry but I don't follow. I'm mostly taking a piss at the idea that there could be a computational identification system.

[–] [email protected] 1 points 6 months ago

My idea is you pick one ethnic style as the base and use the cube bread rule to classify every food under that one ethnic base class. So if you start with the idea that a hotdog is a taco, you'd make Mexican your base ethnic cuisine and classify all other foods into a type of Mexican food.