The linker sorts through references to symbols, making notes about in which libraries they were found.
链接器将所有对符号的引用进行分类,标识出它们是在哪个程序库中找到的。
Once those tasks are done, the resulting executable has a list of symbols it plans to look up from libraries it will load at runtime.
在完成这些任务之后,生成的可执行文件会拥有一个列表,该列表列出了计划从运行期将加载的程序库中找出的那些符号。
We've tended to steer clear of heavily symbolic libraries and using symbols for method names, but I think this is an important feature of the language, which like any feature is possible to over-use.
我们其实也在避免使用重量级的符号库,避免用符号来做方法名,但我觉得这是Scala的一个很重要的特性,也跟其他特性一样,都有可能被过度使用。
应用推荐