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:
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.
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.
A sandwich is just a flat hot dog
No that’s baloney.
slow clap
No its not. A hotdog covers a sausage from 3 sides. A sandwich only from 2. Have you never heard of the cube rule?
Cereal is a cold soup
If my hotdog bun splits, does it cease being a hotdog and become a sandwich?
Yes
No, it becomes a giraffe.
A lot of sub places don’t cut the bread all the way through, so their sandwiches have bread on 3 sides
Back in the day, Subway V-cut their bread and wasn’t total shit.
Hot dogs as sandwiches are no different than a sub or hogie. They are sandwiches.
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
So a hot-dog is a taco? is a burrito sushi? beans and rice a salad? Beef wellington a calzone?
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.
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.
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.