Link: http://mislav.uniqpath.com/poignant-guide/book/chapter-2.htmlchapter 2: kon'nichi wa, Ruby Section 1: Open this book
Pretend that you have already opened this book (although you may have already opened this book), you only find that there is a big onion in the middle of the book. (The print merchant of this book added the onion at my request)
So you will feel like: "Wow, this book has an onion !" (Even if you don't like onions very much, I'm sure you're grateful for the care of logistics and transportation. In a so-called programming manual, you even have agricultural produce onions)
Then you ask yourself, "Wait, I think this is a book about Ruby. It is an amazing new programming language from Japan. Although I am very grateful for the logistics and transportation of agricultural products in a programming manual, why is it onion? What should I do with it ?"
No, please do not be confused. You don't need to use onions for anything. Put the onion aside and let it do something for you.
I will always be with you, and I want to make you cry, cry, and sow. This book describes the bitter history of Ruby. That is to say, with such beautiful code, you can shed tears. When you wake up in the arms of this book the next morning, you will have heroic stories and beautiful facts. Hug it all day long. If necessary, create a temporary leather case that can be placed behind your hips for this book, so that it will always be gentle with you.
You really need to cry once. Or at least pull. If not, the onion will bring you these.
Section 2: dog stories
Now let's try the first bitterness:
One day I walked on a bustling road filled with car dealers (shortly after my wedding was canceled) and found a lonely stray dog. This is a hairy black dog with green eyes. I felt like an orphan, so I took a pair of balloons tied to the pillar next to the dealer and tied them to the dog's collar. Then I decided that he would be my dog. I named him Bigelow.
I think we can buy some food for biglow and then go back to my place where we can sit on the lounge chair and listen to Gorky's zygotic mynci songs. By the way, we also need to stay at the regular department store for a moment to buy biglow its own lounge chair.
However, biglow does not regard me as its master. Five minutes later, the stupid dog ran away from the opposite route and I couldn't catch up with it. Even if the dog was lost only once, it is lost twice now. I slowed down to a life with milkbones and extra lounge chairs. I have a dog, just five minutes.
A stupid dog like Benedict Arnold. I sat on a bench in the city and threw pine nuts at a statue of three sheep crossing the bridge. Then I cried for several hours. Tears have arrived. Now there are some things that make you feel bitter.
I guess this dog will carry these balloons. That crazy dog must look like a long-legged party.
Soon afterwards, I had my own Bigelow. I printed a bunch of documents on Ruby pages and on the Internet. I browsed these materials on the way home by train one day. I spent five minutes browsing it and gave up. I have no idea at all.
I sat and looked at the world through the window. in front of my eyes, a real-person mixer was stirring various graffiti and steel was smelting. This world is too big for such a small language, so I think so. Poor little things cannot stand on the ground, no legs can stand up, no arm can swim.
However, I am there. Among the billions of people living in a float Blue Rock, I am just a weak person on a small, easy-to-crack train (I sometimes even have a float ). Why can I criticize Ruby? Who said I wouldn't be suffocated by my cell phone while I was on the phone, and I died that night? Why? Ruby will survive forever.
The tombstone says:
What's in his spine? Oh, look, a Nokia.
This is my luck. Finally, there was a good sleep in the ground, but from time to time I felt uneasy about my Pachelbel's canon, which was slowly decaying in my stomach.
Section 3 rising sun
Now you may be wondering why I have changed my opinion on Ruby. The most straightforward answer is: let's continue.
It's like when you meet someone on campus, and when you are a child, you often use a paint brush to stamp your face. Therefore, you can conclude at once that this person cannot be a friend. You retreated in front of them. When they talk about strange things, you can stop up. You use spring tops to go where they managed to walk.
However, six months later, you had a pleasant conversation with him sitting next to the fountain. Their faces look less like enemies of your childhood. You met a pair of twins.
But I don't want to publicize Ruby to you, tell you all aspects of Ruby applications (including your boss and the boss's boss), and I just want you to explore it on your own. I will give you the freedom to fall down in the code, and then suddenly tell you my experience from the heart, that experience will be very simple and natural.
I should give you some motivation to get down to the truth. I will tell you three reasons for learning and using Ruby that I think are best:
- 1. Healthy mind
- Vitamin R directly enters the brain. Ruby will teach you how to use computers to present your ideas. You will write stories for machines.
- Innovative Ability, human, reasoning, attribution, wise nod. This language will be a tool for connecting your mind and the world better. I have noticed that many experienced Ruby users seem to be clear-minded thinkers and objective practitioners. (In contrast to: extremely biased and vulgar)
- 2. One person and one island
- Ruby was born in Japan, which is strange. Japan is not well-known in the software industry and most of its language is written in English. Who can think of a language from Japan?
- However, we welcome Ruby. After overcoming all kinds of setbacks, Song benhong created Ruby in February 24, 1993. Over the past decade, he step by step made Ruby have a huge audience. Ruby is successful and noble. There are many such praises. It supports diversity, allowing us to use a bit to shake the earth.
- 3. Free
- Ruby does not require any cost. Ruby's own source code is open source to the whole world, so that it can get new things while giving it. Therefore, this book is free of charge. Ruby is a huge gift and there should be some additional gifts.
- Maybe you think we will ask you to buy a vacuum, a vacation villa, or a fake moane. You think there will be a 90-minute presentation, and the boss of the company will come out at the end, forcing you to complete the transaction.
- No, it is completely free.
Next, it's the turn of the book. Now you can use your highlighter to draw out every word you think is charming from the end of this sentence. I think I have enough adhesive and counterfeit money for my readers to stick to the last page.
Section 4 how to start this book
If you have read a book before, you know that no book will start properly without high expectations. Yes, it is collaboration. You may not know this. Collaboration means that you and I can cooperate with each other to provide an excellent reading experience.
Let's start this book along the directory. This sense of belonging and collaboration drive us through this book, and I will guide you on your way. You can show your progress by giving me a confident nod or a smile.
I'm Peter Pan with your hand. Come on, Wendy, another star is shining until tomorrow.
Here is a problem. I don't get along well with others. I am not good at hand.
Any of my peers will tell you. At the opening ceremony of this book (a food party held at the stadium), I found that cutota sandwiches were not provided. Therefore, cream and cucumber are not good. All in all, I had a big temper, ignited the propaganda truck parked outside with anger, and smashed the spotlight into fragments. My crazy and ridiculous behavior continued until the night. Everything is terrible.
However, I did not invite anyone except me to attend the opening ceremony of the book because I am not getting along well with others. So it's not that embarrassing. I think of these as secrets, and no one can find this entire torture process.
So you know that collaboration does not really mean collaboration in this book. I cannot perform normal collaboration. In this book, collaboration means a cartoon fox. What I want to say is: This book will start with a group of too many cartoon foxes.
I will expect you to turn them into collaboration.