It says: a class is an extensible program-code-template for creating objects. Isn't that a retarded way, using too many words? Of course it's extensible and do
| This is the talk page for discussing improvements to the Class (programming) article. This is not a forum for general discussion of the subject of the article. |
Article policies
|
| Find sources: Google (books · news · scholar · free images · WP refs) · FENS · JSTOR · TWL |
| Archives: 1 |
| This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||
| The content of Class-based programming was merged into Class (programming). The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. For the discussion at that location, see its talk page. |
It says: a class is an extensible program-code-template for creating objects. Isn't that a retarded way, using too many words? Of course it's extensible and do we have to say "program-code-template"? Isn't it good enough to say it's a "template for creating objects"? Why do you have to be so anal about it? — Preceding unsigned comment added by 88.95.4.170 (talk) 10:00, 9 August 2020 (UTC)
WRT short desc: Specification of [a] object structure That is not correct (enough) IMO. An object is both structure and functionality. Therefore a class must specify both. Previously, I changed the desc to specifies an object so that it covers both ... all aspects of an object. If we _must_ mention structure ... then we should also mention functionality. I think it was fine before. It either needs to also mention functionality or to not mention structure.
You shoved unrelated sentences together to make a run-on paragraph. I know that WP articles (all writing for that matter) are not suppose to have lots of short paragraphs, but it's better to have short paragraphs than run-on paragraphs IMO.
A paragraph should have one idea. As-is, the first paragraph has 4: Definition, creation, members and inheritance.
For reference: In object-oriented programming, a class defines the structure, initial state and behavior of an object. An object is created through a process known as instantiation, the creation of an instance of a class. Classes may define members, such as methods and variables, that are local to either the class itself or instances of that class. If the programming language supports inheritance, a class is extensible by allowing the definition of one class to be based on and extended from another. Stevebroshar (talk) 13:56, 28 June 2024 (UTC)
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.