Discussion Overview
The discussion revolves around the concept of "object type" in Python, exploring its definition, relationship to classes, and how it is represented within the language. Participants examine whether "object type" is merely a naming convention and seek clarification on how to access these types programmatically.
Discussion Character
- Conceptual clarification
- Debate/contested
Main Points Raised
- One participant questions the existence of an "object type" in Python, suggesting that data type equates to class.
- Another participant asserts that "type" encompasses a broader concept than "class," indicating that classes represent custom types while built-in types have fixed semantics.
- A participant inquires about accessing object types programmatically, noting that while the class can be accessed via the type() function, it is unclear if object types can be retrieved similarly.
- One response emphasizes that "type" is a concept and cannot be returned by a command, listing principal built-in types such as numerics and sequences.
- There is a mention of differing terminology in a book versus an article, with a participant expressing confusion over the terms used for types.
- Another participant clarifies that terms like 'numbers' and 'numeric types' refer to the same underlying concept.
Areas of Agreement / Disagreement
Participants express differing views on the definition and accessibility of "object type," with no consensus reached on whether it is a valid concept or merely a naming convention.
Contextual Notes
Participants highlight potential confusion arising from terminology differences in various sources, which may affect understanding of the concepts discussed.