Reborn Ace Hack
Chapter 103 Code Specification
(In the new book issue, please give me flowers and collect it!) Ever since Jiang Hua came to the class pretending to be a high school student, Xiao Yuan has lived a life of going in and out with bodyguards. Of course, only the two of them know that Jiang Hua is his bodyguard.
In the eyes of the classmates, Jiang Hua, a transfer student, and Xiao Yuan hit it off immediately and became inseparable good friends. There was not much worth paying attention to.
Compared to the two of them falling in love at first sight, Jiang Hua showed off his prowess at the school gate and did things like chopping melons and vegetables, which attracted more attention from the students. Coupled with this guy's handsome appearance, it gave him even more points.
So little that after coming to school again on Friday afternoon
, many girls looked at him with venomous eyes, and some bold girls would even take the initiative to talk to him, and then after he responded with a smile, they would run away, hide aside and giggle, and
From time to time, I would cast a few curious and shy glances.
This situation made Xiao Yuan extremely overwhelmed and even a little aggrieved. He thought that before the National Day, Xiao Yuan also did something big that caused a sensation in the whole school. Why didn't he attract the attention of so many girls?
On Saturday morning, Xiao Yuan made an appointment with Tang Xinyu and came to the school. He planned to go to the audio-visual education building to find Tang Xinyu, and then use the computers in the school computer room to create technical documents for the firewall.
Jiang Hua and I came to school together. Since it was the weekend, they did not store their bicycles in the carport. Instead, they rode directly to the audio-visual education building, not wanting to meet Yu Zhengfeng halfway.
"You two stop!" Yu Zhengfeng stopped them, walked over with a sullen face, and asked with a sneer, "Xiao Yuan, cycling is not allowed on campus, don't you know?"
"Who are you?" Xiao Yuang was about to answer, but Jiang Hua rushed to ask from the side.
"I am Yu Zhengfeng, the director of the Student Affairs Office, and you, although you have just transferred here, must abide by the school's regulations." Yu Zhengfeng said.
"Xiao Yuan, you go find Teacher Tang first. I'll have a heart-to-heart talk with the director." Jiang Hua ignored Yu Zhengfeng's lecture and turned to Xiao Yuan.
"Okay." Xiao Yuan was too lazy to deal with Yu Zhengfeng. With Jiang Hua blocking him, he was naturally happy to accept it, so he got on the car and went to the audio-visual education building. He turned around and took a look on the way, only to find that Yu Zhengfeng was being
Jiang Hua hugged his neck and walked aside.
"Haha, isn't this guy going to find a deserted place to beat Yu Zhengfeng, right?" Xiao Yuan muttered in his heart, but he didn't take it too seriously. He came to the audio-visual education building and parked his bicycle downstairs.
Went upstairs to Tang Xinyu's office.
After entering the door, he exchanged greetings with Tang Xinyu, and then Tang Xinyu took him to the computer room.
"Oh, by the way, Teacher Tang, I have finished reading the tutoring materials you gave me. Do you have any that are more in-depth? Can you find me two more?" Xiao Yuan took it out of his bag before starting to work.
The two tutorial materials for the mathematical modeling competition were handed over to Tang Xinyu and said.
"You finished reading it so quickly?"
Tang Xinyu felt incredible. These two books were not thin. They contained a lot of content and were very difficult. He originally thought that Xiao Yuan could read them through before the competition and solve 80% of the questions in them.
, was enough, but I didn’t expect Xiao Yuan to have finished reading it.
"Yes, many of the things in it are very rare and troublesome. It took a lot of effort and even had to write algorithm pseudo-code, otherwise I would have finished reading it long ago." Xiao Yuan said.
"Have you finished all the questions?" Tang Xinyu swallowed and asked again.
"It's done." Xiao Yuan replied.
"Have you written out the pseudo-code for those design questions?" Tang Xinyu asked again, his voice a little astringent.
"Yes, I've written it down. Are there any problems?" Xiao Yuan asked. Tang Xinyu's expression made him feel strange.
"Where is it? Let me see quickly." Tang Xinyu asked quickly.
"I didn't bring it with me. I wrote it all in the exercise book. If you want to read it, I can go to the classroom and get it for you. But it's not all complete. Some of it is at home." Xiao Yuan went home now, which was a bit of a waste of time.
But it didn't take much time to get to the classroom, and he happened to have the key to the classroom, so he said.
"Okay, go get it for me and let me take a look." On the one hand, Tang Xinyu wanted to see the algorithm design of these questions. On the other hand, more importantly, he was very impressed by the pseudocode written by Xiao Yuan.
Interested, he said.
Xiao Yuan came out of the computer room and walked downstairs to the audio-visual education school. He met Jiang Hua coming upstairs.
"Where is Yu Zhengfeng?" Xiao Yuan asked.
"Let's go." Jiang Hua said.
"He let you go so easily?" Xiao Yuan asked curiously.
"He's not planning to invite me to tea. If he doesn't let me go, he can still lock me up. But you, why did you come down again?" Jiang Hua said lightly.
"I'm going to the classroom. You go up first and go to the computer room on the third floor. Teacher Tang is there." Xiao Yuan said.
"I'll go with you."
Jiang Hua did not go upstairs alone, but turned around, went downstairs with Xiao Yuan, and walked to the teaching building not far away.
"You didn't beat Yu Zhengfeng, did you?" Xiao Yuan asked again on the way.
"No, why did I hit him?" Jiang Hua denied.
"Then how could he listen to you and let you go so easily? This is not in line with his usual style." Xiao Yuan asked.
"I'm not a real student. It's not difficult to deal with a school's director of primary school students." Jiang Hua said with a slight smile.
Xiao Yuan returned to the classroom, rummaged through his desk, found two exercise books filled with pseudocode, and took them back to the audio-visual education building with Jiang Hua.
Tang Xinyu didn't show much surprise at Jiang Hua's arrival. Although Xiao Yuan didn't ask, he could guess that Tang Sa had greeted Tang Xinyu in advance. He wrote the exercises filled with pseudocode
He gave the notebook to Tang Xinyu, then sat down next to the computer, opened the office software that came with the computer, and started working. Jiang Hua found a student computer and sat down. After opening it, he called up the Minesweeper game. Rao
I started playing with interest.
Tang Xinyu also sat down and slowly looked through the pseudocode Xiao Yuan gave him. As soon as he turned to the first page, his eyes lit up. He didn't care to read the specific algorithm content, but quickly turned back.
After reading a few pages, he turned to look at Xiao Yuan and said with emotion: "Is this pseudo code? It's obviously standard C code."
Pseudocode is an algorithm description language, which is somewhat similar to program code, but is not so strict in grammar. In order to describe the algorithm clearly, Chinese can even be mixed in. The purpose of using pseudocode is to facilitate reading and facilitate
It can be easily converted into real program code in the future.
Professionals all know that it is easy to write code, but difficult to read code. Especially reading some code written by half-baked programmers who have not developed good programming habits is like reading a bible, completely incomprehensible. Some programmers even write
If you read the code after a while, you won't be able to understand it.
You can imagine that a large software team has some programmers who have written tens of thousands or even hundreds of thousands of lines of code that they cannot understand every once in a while. One day they resign, then, take over their work.
What kind of dilemma will the next programmer face? If they don't understand, the project will be delayed, a series of problems will follow, and it may even lead to a disaster.
Therefore, in a regular software team, there will inevitably be a strict code format specification. In the specification, very strict requirements will be put forward for code format such as the naming of variable names in the code, blank lines of code, comments, etc.
.
Tang Xinyu originally thought that Xiao Yuan was still a high school student and had not received strict programming training, and that these pseudocodes were written by him in an exercise book and should be very casual. However, when he turned the first page, he realized that he
Wrong, because what he saw was very standardized pseudo code in C language format. These codes had strict indentation, blank lines, and just right and detailed comments. Reading such code
The code gave Tang Xinyu a pleasing feeling. If Xiao Yuan used a computer program development environment to write codes in this format, because the development environment has an automatic typesetting function, it would not be a big deal, but these codes were handwritten by Xiao Yuan.
The code in the exercise book can be written very strictly according to certain format specifications, which means that this code specification has formed the most basic conditioned reflex for Xiao Yuan.
"Is there any problem?" Xiao Yuan heard Tang Xinyu muttering and turned around to ask.
ps: The first update is here. Today is the first day after the New Year's Day holiday. Green Tea wishes my friends happy study, work and success.
You'll Also Like
-
Douluo: I teach and educate people at Tianshui College!
Chapter 180 3 hours ago -
Elves: Starting from Different Color Lalulas
Chapter 383 3 hours ago -
After forcibly taking the blood of the sick and delicate prince to continue his life
Chapter 290 3 hours ago -
Douluo: Tang San is my brother
Chapter 366 3 hours ago -
Doupa: More sons, more blessings, I build the strongest family
Chapter 362 3 hours ago -
People are in Douluo, but they are struck by lightning at the beginning
Chapter 103 3 hours ago -
Fighting from the opportunity of gifting
Chapter 379 3 hours ago -
I'm in Konoha, I want to be Hokage
Chapter 217 3 hours ago -
When Huo Yuhao traveled through Douluo
Chapter 160 3 hours ago -
Douluo: My nanny is Bibi Dong
Chapter 259 3 hours ago