第二,Python程序中的所有东西都是可以从程序访问的对象,即使是您编写的代码也不例外。
Second, everything in a Python program is an object accessible from within your program, even the code you write.
Squirrel引擎也很小巧,不超过6000行代码。
The Squirrel engine is also tiny, at less than 6000 lines of code.
模式语言是另一个例子,开发人员宁可选择简单而能运行的代码,也不选择复杂和供应商的许诺。
Schema languages are another area in which developers appear to be choosing simplicity and running code instead of complexity and vendor promises.
You should acquire overtime this instinctive aversion to just code or programs that just look ugly because things that look ugly generally are not easy to maintain.
对于代码和程序你会有一种本能的讨厌,这是因为这些代码和程序看起来很丑陋,并且不容易维护。
In fact, this example would compile because you can use curly braces in this way to encapsulate lines of code, but realize for now, that, not good.
实际上,这个例子可以编译,因为你可以用这种方式来压缩代码行,但是请认识到,那个,不太好。
Once your programs get fairly complex, it becomes harder and harder to find things and to tweak things if you're not being organized.
一旦代码稍微复杂点,而你又不规范你的代码,那么你想找什么东西就很困难了。
应用推荐