Task: Go to a pizza shop. Order lunch.
The pizza arrives before you finish ordering. You don't have money to pay for the pizza, but that's okay, you just set Order.prototype.paid
to true
. This makes all the other customers in the restaurant happy because they no longer have to pay for their pizzas either.
On entry into the FoodProviderFactory
, you talk to the FoodOrderCreationManager
who uses a FoodOrderManager
to generate a FoodOrder<Pizza>
instance. This also creates a FoodOrderReceiptBean
which they hand to you to keep in your PersonalItemsStorageRecepticle
with the PaperCurrency
instances. Six hours later, the kitchen raises a FoodOrderCreationCompleteEvent
at which point you present your FoodOrderReceiptBean
along with several instances of PaperCurrency
to the FoodOrderCreationManager
. They hand you your FoodOrder<Pizza>
and you leave the FoodProviderFactory
. You then drive your TransportationProviderVehicle
back to your ResidentialHousingManagerAdapter
. If the FoodOrderPreparationManager
gets your FoodOrder<Pizza>
wrong or adds incorrect PizzaToppingBean
s, you are presented with a 40 page FoodPreperationExceptionStackTraceError
detailing exactly what went wrong and what you should do next time to avoid this happening again. The FoodProviderFactory
pays Oracle $800 per-customer per-pizza per-slice.
You forget the null terminator on the end of your≈ç√∫˜µ≤≥÷ß∂ƒ©˙∆˚¬…æ œ∑´®†¥¨ˆøπ“‘ ¡™£¢∞§¶•ªº–≠ ¸˛Ç◊ı˜Â¯˘¿ ÅÍÎÏ˝ÓÔÒÚÆ☃ Œ„´‰ˇÁ¨ˆØ∏”’Œ„´‰ˇÁ¨ˆØ∏”’⁄€‹›fifl‡°·‚—± ⅛⅜⅝⅞ ЁЂЃЄЅІЇЈЉЊЋЌЍЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя٠١٢٣٤٥٦٧٨٩中さんにあげて下さいパーティーへ行かないか 和製漢語部落格사회과학원 어학연구소찦차를 타고 온 펲시맨과 쑛다리 똠방각하社會科學院語學研究所울란바토르𠜎𠜱𠝹𠱓𠱸𠲖𠳏v̟̜̘̦͟o̶̙̰̠kè͚̮̺̪̹̱̤ ̖t̝͕̳̣̻̪͞h̼͓̲̦̳̘̲e͇̣̰̦̬͎ ̢̼̻̱̘h͚͎͙̜̣̲ͅi̦̲̣̰̤v̻͍
Almost exactly like Java, though all the local customers insist that it isn't. All employees in this pizza shop are Microsoft Gold Certified and use "Visual Pizza Creator 2018 Enterprise R2 Standard Small Business Server Active Team Foundation Directory Ultimate Business Premium Pizza Studio" to prepare your order. Using this tool, a medium cheese pizza can be created in under 10 minutes. Any other flavour of pizza or topping requires the restaurant to be rebuilt.
You walk into the pizza shop and place your order. 800,000 pizzas arrive at the counter from the kitchen. Some are actual pizzas. Some are pointers to pizzas. You don't know which. All of them are hot enough to melt steel. When they cool, nobody can figure out how to cut them.
You look at the menu but it's written in hybrid of egyptian hieroglyphs and norse runes. Ordering requires drawing a pentacle on the floor and a ouija board.
You walk into the store and instead of taking to an employee, you can order using a projected VR interface with hand gestures. The computer is able to read your mind and projects a picture in 3D space of what your completed pizza will look like. Your pizza is made and it looks exactly like the VR rendering and is a true work of art. Upon biting into it you discover that it tastes of raspberry jam and wasabi. You complain about the taste to other customers and the management who dismiss your complaint saying how nice your pizza looks.
Like ruby but without the VR. Attempts to criticise the taste of the pizza draws the ire of the community who declare conventional pizza flavours "unpythonic" and tell you to get used to the taste of wasabi.
In the year 4000 A.D this pizza shop has survived 3 nuclear fallouts and has been in business since some time in the mid-1980s. Most people don't want to eat the pizza it sells because it glows faintly and is capable of heating a small kettle. Those who do consume it insist it is the best and are able to survive solely on a diet of pizza. Most of these people are "co-incidentally" several hundred years old and have an eyeball growing out of each hand.
The pizza shop is staffed exclusively by teenagers and apprentice chefs. Both the restaurant and it's staff have significant hygine problems and there are regular outbreaks of food poisoning. The restaurant remains open though nobody can figure out how or why. It still manages to win corporate catering contracts by always being the lowest bidder.
You drive to a large stretch of empty land where you construct your own pizza shop. Every other customer before you has done the same but for different types of fast food and some of their attempts still remain from decades ago. At first you attempt to combine two abandoned bakeries and drive-thru burger restaurants to create your pizza shop. At 4am with no warning the whole building collapses.
The second time round you decide to construct things yourself and end up with a fairly workable (but hacky) solution. Most of the building is held together with duct tape but you don't care because the pizza it makes tastes pretty good and as it turns out - you only needed it for one meal anyway.
You create a cardboard shopfront and spend hours painting it. It looks better than anyone else's shop in town. The catch? It is incapable of making pizza, or doing anything. However, catering companies will not hire you unless it's on your resume.
Here's one for Go
Instead of using one pizza oven that can be used to cook all different kinds of pizza, you create 12 small, individual pizza ovens to cook each different type of pizza on your menu. You then split up each of the ovens into a series of conveyor belts that each perform one stage of the cooking process. You end up with a distributed oven. A large pizza oven would have done the job just fine.
You create a home-grown dough machine and proofer to supply fresh dough your pizzas are dependent upon. Corporate calls, however, and makes you use their dough delivered on trucks. At least everyone is nice to each other.