举例来说,如果您度量软件开发人员的代码行数,那么团队将生成拥有许多不必要代码行的程序。
For example, if you measure lines of code per software developer, the team will generate programs with lots of unnecessary lines of code.
作为练习这会很有趣,但是实际上一行程序可能会变成20 - 30行不必要的代码。
It is interesting as an exercise, but in practice the one-liner would become 20-30 lines of unnecessary code.
并且,我发现使用这些框架需要我去写一些困难和复杂但不必要的代码来完成这些转换。
Also, I find these frameworks challenging me to write difficult and needlessly complex code to perform the transformation.
When you're all out of specific cases and you want to handle everything else, you literally say "default:" And here I could end the program with break, but it's kind of unnecessary because once I'm at the bottom of the curly braces, that's it.
当它不在你列出的所有情况中,为了处理其他的情况,你可以用“default:“,这里我可以用break来终止这段代码,但是它是有点,不必要的,因为我已经在这个花括号的,底部了,就这样了。
应用推荐