Ruby简直是一个你怎么想就怎么写代码的语言。有些人实际上称之为VHLL (Very High - Level Language);虽然这个术语没有好好定义,我想它用在这里正合适。
Some, in fact, have called it a VHLL (Very High-Level Language); though this term is not well-defined, I think its use is justified here.
正如没有哪条规则告诉你代码里的注释一定要怎么写才正确,也不存在“正确”属性的一个普适的列表。
Just as there are no rules that tell you exactly what comments to write in your code, there is no universal list of the "right" attributes.
我该怎么写这块代码呢?
Again, you have to let me back up slightly and set the stage.
怎么去写代码,让我准备准备。
How do I write a piece of code for that?
我该怎么写这块代码呢?
应用推荐