Lesson Four revisited paradigm (4)
4.4 Situational Paradigm--the programming paradigm in restaurants
Theory is Song child, more accompany him to play, will lively up--the preface
Keywords: programming paradigm, situational programming
Abstract: The application of programming paradigm in restaurants
? Questions
L What is closure? Why is it called closure? How does it work?
What is the use of the L Rule engine?
Can you imagine a scene in your life and use the nine programming paradigms that are presented?
: Explain
Exclamation mark off glasses, rubbed the eye: "Paradigm again good, many also unavoidably some aesthetic fatigue." ”
The comma also rubs the temple: "This period of time the brain is poured heavy." ”
Likewise Your head is waterlogging, my throat is always drought. The colon said, taking up the bottle of mineral water and drinking it all.
Listen to the strange, this is not a twist to say that we are brain water?
Colon clear clear throat: "In order to respect the public opinion, but also to avoid indigestion, we first relax." Let's have a scenario program here. ”
"Scenario programming?" I've never heard of it, I've only heard of situational English. "The question mark feels quite fresh.
"It's all about learning languages, what's the difference?" "The colon is an understatement," Let's try to concatenate some programming paradigms with examples of life. As mentioned earlier, OOP can be seen as managing a service company, and now, for example, you each design a type of object and the services it provides. ”
The question mark came in the mood: "I'll go first." The construction of a receptionist, responsible for welcoming, introduction, visitors. ”
Full stop is very dissatisfied: "You are not polite, come up to the most beautiful object to rob." ”
The table burst into laughter.
"I'll build the most common waiter. "A comma, a pair of sleeves, ready to open the dry appearance," responsible for pour, writing vegetables, dishes, change the plate. ”
"Well, very skillful. "The colon is very, very.
The full stop is really: "I design the cashier, in charge of collecting accounts, issuing invoices." ”
The quotes are quite proud: "I made a chef with the highest technical content, dedicated to cooking." ”
Comma defy: "You are simple, so high technical content, that is fried meat and stewed meat a way ah?" ”
Quote consciously: "That is responsible for steaming, boiling, fried, stewed bar." ”
The colon defends it: "The quotation mark classmate is not wrong, unfortunately did not insist." The chef only needs to provide a service: to serve the paper into a dish, as for steaming, boiling, frying, stewing and other specific practices are purely implementation details. ”
Exclamation mark a bit wronged: "Alas, it seems that I have to do the lowest technical content of the kitchen workers, responsible for food processing, washing dishes, cleaning." ”