事实上,最优秀的软件工程师是工匠,他们能把能量、独创性和创造力融入到每一行代码中。
In truth, the best software engineers are craftsman, bringing energy, ingenuity, and creativity to every line of code.
这样您可以节省一两行代码。
这一行代码是干什么的啊?
What happens now after we've executed this third line of code, what happens next in the story?
我执行完第三行代码会发生什么呢,在这之后会发生什么呢?
But if I did have two lines of code or more, I would in fact need to put those back.
但是如果我的确有两行或更多的代码,我其实应该把花括号加上。
Imagine instead, you're writing code that's a hundred thousand lines, a million lines, of code. You don't want to write it in this form. All right, and the reason you don't want to do that is, well, several.
换一个角度来思考,你正在写的代码有几十万行,近百万行,你绝对不想写成这种格式,好吧,你不想这么做的原因有以下几个。
应用推荐