Jump to content

Talk:Class implementation file

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Should C be used as an example in the introduction?

[edit]

The introduction for this page states "In object-oriented programming, a class implementation file is often used to contain the implementation code for the method(s) of a class. Programming languages like C and C++ make use of these implementation files so as to separate the interface and implementation of these methods."

However, C is not an object-oriented programming language and does not have classes. As the page continues there is no other mention of C in the article. If you follow the cited webpage for the intro, it makes no mention of C either, only C++.

The inclusion of C here is not accurate and only serves to confuse readers. I'm proposing that it be changed to Objective-C, which is object-oriented and has an example included later in the page. Gberenzy (talk) 03:36, 9 November 2023 (UTC)[reply]