为什么Java的有中央API文档,而不是C ++? [英] Why does Java have a central API documentation, but not C++?

查看:182
本文介绍了为什么Java的有中央API文档,而不是C ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题pretty多解释这一切。我一直在想,为什么Java有很好的,有组织的和集中的API文档,但C ++库的定义似乎被分散在互联网?

Question pretty much explains it all. I've been wondering why Java has nice, organized and centralized API documentation, but C++ library definitions seem to be scattered across the internet?

是因为太阳忘却使得Java API文档很容易和方便一些努力?先谢谢了。

Is it because Sun put some effort behind making Java API documentation easy and accessible? Thanks in advance.

推荐答案

你所说的好,组织/集中,APIfor Java是甲骨文可能的正式实施的文档。 C ++实现也有自己的文档,例如,GNU的实施 HTTP是有据可查的:// WWW .gnu.org / S /的libc /手动/ (在C部分,),并在 HTTP ://gcc.gnu.org/onlinedocs/libstdc++/ (C ++的一部分,请参见API和源文件)。您也可以在MSDN库查找Microsoft的C ++实现完整的文档。

What you call "nice, organized/centralized, API" for Java is probably the documentation of Oracles's official implementation. C++ implementations also have their own documentation, for instance, GNU's implementation is well documented in http://www.gnu.org/s/libc/manual/ (the C part), and in http://gcc.gnu.org/onlinedocs/libstdc++/ (the C++ part; see section "API and Source Documentation"). You will also be able to find in MSDN Library the full documentation for Microsoft's C++ implementation.

您可能会发现的Java API更简洁,有据可查的,因为只有一个认真执行它(Oracle的最初实现),使得它的文档非常资源,语言本身。

You probably find Java API more concise and well documented because there is only one serious implementation of it (Oracle's original implementation), making its documentation the very resource for the language itself.

在另一方面,C ++是一个标准的,由各种厂商的,并且许多文档资源实现甚至不基于任何特定的实现,但在标准本身。在结束时,不同的C ++中的因特网上的资源往往outstand他人在某些领域。例如,cplusplus.com集中约好的文档< iostream的> <串> 和初学者的话题,而SGI的STL实现的文档(http://www.sgi.com/tech/stl/)成为STL的参考资源,可能是因为它的完整性和很好的组织。

On the other hand, C++ is a standard, implemented by a wide variety of vendors, and many documentation resources are not even based on any specific implementation, but in the standard itself. In the end, different C++ resources on the Internet tend to outstand others in some areas. For instance, cplusplus.com concentrate good documentation about <iostream>, <string> and beginners topics, while the documentation of SGI's implementation of STL (http://www.sgi.com/tech/stl/) became the reference resource for STL, probably because of its completeness and very good organization.

这篇关于为什么Java的有中央API文档,而不是C ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆