The first thousand one hundred and eighty-two chapters are you dizzy?
The expressions of Song Chenglong and others changed.
Although they are all computer professionals and are familiar with programming languages, the source code of the spider virus killing software was not written by them after all. It was just stolen back this morning. They have only read it a few times and written it down at most. Where can I find out about it?
What is the meaning and function of code?
This is like plagiarizing an article from someone else. Although you can understand the text of the article and know what the content is, what thoughts and feelings are expressed in the article?
What does it mean specifically?
Only the author himself knows.
Obviously, Chen Hao wanted to use this test to prove whether they were stealing.
If they can't answer, there's no need to say anything.
I have to say that this trick is quite effective and hits their weak spot.
For a moment, everyone in Huanyu Company looked at each other, speechless.
Chen Hao sneered: "What?
Isn’t the specialized killing software developed by you with great effort and energy?
You wrote the source code yourself and you don’t even know the meaning and function?”
Everyone in Huanyu Company looked even more embarrassed.
"You guys are still professionals in computers. Why don't you understand what Teacher Chen means? Doesn't the so-called meaning and function of source code refer to the function of the software?"
Suddenly, He Jingshan's voice sounded.
His words not only helped everyone get out of trouble, showing that everyone's inability to speak out was not because they didn't understand, but because they didn't understand Chen Hao's question, but they also meant something else, with a hint of reminder.
When Song Chenglong heard this, his eyes immediately lit up, and he pretended to suddenly realize: "So that's what Teacher Chen meant. Then I realized that the function to be achieved by this line of code is very simple, which is the process call of the pattern. It consists of three
Parameter composition..." He described the meaning of the code in words.
He understood He Jingshan’s reminder that you don’t have to worry about the meaning and function of the code. Anyway, no matter how the code is written, it will eventually be reflected in the function of the software. So just casually say the surface meaning of the code. How can you prove what I said?
wrong?
Unless Chen Hao can extract this line of code alone and form a new software to demonstrate specific functions and prove it.
"Damn it, it turns out that this is what the so-called meaning and function refer to. What did I think it was? It's so mysterious."
"That's right, trying to be mysterious only makes us think too much."
"Chen, Mr. Song has already told you the meaning and function of this line of code, so we don't need to repeat it, right?"
Others in Huanyu Company also understood and pretended to be disdainful.
Chen Hao glanced at He Jingshan: "Director He, are you good at reminding me?"
He Jingshan chuckled: "Don't get me wrong, Teacher Chen, I think they didn't understand what you meant, so I just said it casually, lest you think they can't answer the question and then unjustly accuse them of stealing the killing software.
You must be fair in your conduct and actions, and you must not deliberately mislead with your words, don’t you think so?”
The implication is that Chen Hao has sinister intentions and wants to deliberately wrongfully accuse Song Chenglong and others.
Chen Hao sneered and ignored him, saying: "Very good, now that you know the meaning of this line of code, let me ask you again, if the spider virus killing software does not have this line of code, can it run normally?"
Everyone was stunned for a moment, and then showed disdain.
In the source code of software, even a punctuation mark is useful, and there cannot be useless code.
If the software can still run normally without a certain code, it means that the code is useless and has no meaning and should be deleted.
What Chen Hao asked was a simple common sense question that even a novice who had just learned computer science could easily answer.
However, Song Chenglong's expression changed.
It's not like Chen Hao didn't know that they were all professionals in computers and had quite high standards.
So why ask such a simple question?
It's definitely a trap.
If they answered no, wouldn't they be dumbfounded on the spot if Chen Hao deleted this line of code and then ran the software normally?
Although there will be no useless code in the software, there are different situations.
For example, rookie programmers, due to lack of ability, will encounter a lot of tedious and useless code and bugs when they first program, just like there are a lot of useless nonsense and logical errors in long web articles.
Although when I review it afterwards, I will definitely delete it vigorously and correct the mistakes.
But as long as the code is written by people, it will not be perfect. There will definitely be errors and omissions. It is just a matter of more or less.
Under normal circumstances, developers don't bother to correct it as long as it doesn't affect the software's functionality or take up too much space.
Maybe this line of code is an error or omission in the spider virus killing software. Even if it is deleted, it will not affect the operation of the software.
Chen Hao deliberately dug a hole for them! Thinking of this, Song Chenglong sneered and said loudly: "Of course!"
Um?
Hearing this, everyone looked at Song Chenglong in surprise.
How could the boss answer such a simple common sense question wrong?
Song Chenglong gave me a look, which meant that you listen to me, that’s right.
Chen Hao also looked shocked: "Are you sure?"
"Pretend, just pretend!"
Song Chenglong sneered in his heart, thinking that Chen Hao was deliberately pretending to be surprised in order to trick him into changing his story, but he became even more determined: "Sure!"
Chen Hao said speechlessly: "Well, I will delete this line of code now, and then restore the remaining source code into software to see if it can run."
Song Chenglong said: "Wait, let me make it clear first. If the software can run, does it prove that we are the real developers of the spider virus killing software, and you are a shameful thief."
Chen Haodao: "Yes, if it can't run, it proves that I am the developer, and you are the thieves who framed me."
He said, delete that line of code, then copy the remaining source code, paste it into the editor, and restore it to a special killing software.
Song Chenglong's expression changed.
Chen Hao really dared to run the special killing software after deleting the code. Didn't Chen Hao deliberately dig holes, but really asked them to question their common sense?
Soon, the spider virus killing software was restored, and Chen Hao double-clicked it to run it.
The software flashed for a moment and did not run, and then a line popped up stating: The program is missing and cannot be run.
Chen Hao reached out to Song Chenglong: "Didn't you just say that the software can run even if you delete that line of code?
Come on, come on, you, a real developer who claims to be a killer software, explain what’s going on?”
Everyone looked at Song Chenglong.
People from Huanyu Company, He Jingshan and Hu Wenxing all looked shocked, angry and confused.
If deleting one or two codes may not affect the operation of the software, it is reasonable, but deleting an entire line of code will not affect it. How is that possible?
This question is extremely simple, and it is obviously for giving points, but Song Chenglong, a master's degree in computer science and the CEO of a software development company, answered it wrong.