如何在技术写作中实现函数名的复数形式,如foobar?
我所说的技术写作,例如,源代码中的注释文本,软件或编程元素的文档,可能与相应的源代码处于不同的位置。
我应该使用
foobars
foobar`s
foobar's
foobar发布于 2013-01-17 06:17:48
我建议不要以任何方式更改函数/方法名称,因为这会引起混淆,但请按如下方式引用:
Use the fooBar functions to blah, blah, blah...或
Use the fooBar methods to blah, blah, blah...发布于 2013-01-17 06:26:56
像其他复数一样,在末尾加上"s“,但要通过格式化来区分。
写一些类似于"All of the substrs are...“的东西。我还将使用括号将函数名区分为函数名,例如“所有substr()都是...”。
https://stackoverflow.com/questions/14368859
复制相似问题