Software development ideas contained in buses
Introduction
I take a bus every day and go to work at the company. Today, I am wondering, what software development ideas does the bus embody?
Software development ideas
The following are some interesting software development ideas.
Computer Input and Output
Get on at the front door and get off at the back. Is this the output of parameter input and result in the function? Well! That's right! It is the input and output that computers often talk about. The input and output interfaces are independent.
System as independent as possible
When a passenger gets a bus card, the driver is only responsible for driving his car, regardless of money. The driving business is independent of the finance system.
Interface
If you take a bus every day, you must swipe your card. In fact, a bus card is an interface for taking a bus to complete a consumption behavior.
Core Engine
The driver is an engine, which is responsible for shutting down the door, starting the car, stopping at the station, closing the door, and driving again. In software development, we often talk about search engines and navigation engines.
Queue idea
Sorting out the order of the front door and the order of the back door, these two processes reflect the queue idea in the data structure.
Loop
The bus starts from the start station to the terminal station and repeats every day. This is a cycle. Am is the starting condition for departure. at AM, the shuttle bus stops running for one day.
Condition
There are often various case statements in the computer.
The same is true for bus seats. Yes:
1. Yellow seats reserved for pregnancy and aging;
2. General gray seats;
3. hand railings reserved for standing passengers.
Conclusion
It seems that as long as we have a good understanding of it, there are still a lot of software development ideas in our life.