The other secret of good engineers is that it takes the same amount of time to write good code as it does to write bad code.
软件开发界的另外一个小秘密是:编写优秀代码和糟糕代码所花费的时间是一样多。
For example, Ruby is interpreted, which means that you can iteratively write code, hit the refresh button in the browser to see your changes, write more code, refresh again, and so on.
例如,Ruby通过解释方式执行,这意味着您可以采用迭代方式工作:编写代码,单击浏览器中的“刷新”按钮查看更改,编写更多的代码,再次刷新,如此往复。
Then you write XS code that xsubpp uses to write C code that understands all the Perl variable conversions and such.
然后再编写XS代码(xsubpp 用此代码来编写可以兼容所有Perl变量转换和诸如此类事情的C 语言代码)。
A language that makes it hard to write elegant code makes it hard to write good code.
对于语言来说,如果写不出优雅的代码也就写不出好的代码。
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
傻瓜写计算机能理解的代码。优秀的程序员写人类能读懂的代码。
Double-click the designer and write code in the general declarations section of the class, or double-click an element contained on the class to write code for that element.
双击设计器并在类的一般声明部分编写代码,或双击类中包含的元素并为该元素编写代码。
A caching system certainly doesn't have to be overly complex, but I've always been of the opinion that very often the best code you can write is the simplest code you can write.
一个高速缓存系统,当然不必过于复杂,但我一直相信,你经常能写出最好的代码,你可以写的最简单的代码。
A caching system certainly doesn't have to be overly complex, but I've always been of the opinion that very often the best code you can write is the simplest code you can write.
一个高速缓存系统,当然不必过于复杂,但我一直相信,你经常能写出最好的代码,你可以写的最简单的代码。
应用推荐