换句话说,一旦你学会如何使用SWIG,你大可以忘掉本章介绍的集成编码的所有繁琐细节。
In other words, once you learn how to use SWIG, you can largely forget all the integration coding details introduced in this chapter.
但是您仍需要处理所有的繁琐细节—比如,在不同语言内使用的不同的小数和分组分隔符—若intl能代劳的话,您自然会非常乐意。
But when you have to handle all the boring details - different decimal and grouping separators used in different languages, for example - you will like that you can use intl to do it for you.
况且,如果他们因为从繁琐细节之中抽身,站在全局的角度看待自己谈论的问题——说不定他们会发现自己一直在错误的方向钻研(悲剧……),这样也算帮助到他们了。
Yet it can also help them if they come up for air some time and see the big picture - and maybe find they were digging in the wrong place...
But if you avoid all of these minutia and focus really just on the idea, it looks like what was a blue say block, a so called statement, is now going to be something called printf where the F happens to stand for formatted.
但是如果你抛开所有这些繁琐的细节,把注意力集中到,它的编程思想,那么它只不过一个蓝色的say程序块,是一个声明,即所谓的printf函数,其中的f是,用于格式化输出。
应用推荐