Click here to Skip to main content
15,173,839 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: What is an Object Pin
robocodeboy2-Dec-13 3:38
Memberrobocodeboy2-Dec-13 3:38 
GeneralRe: What is an Object Pin
Rob Grainger2-Dec-13 5:14
MemberRob Grainger2-Dec-13 5:14 
GeneralRe: What is an Object Pin
robocodeboy2-Dec-13 5:30
Memberrobocodeboy2-Dec-13 5:30 
GeneralRe: What is an Object Pin
michaelbarb2-Dec-13 9:11
Membermichaelbarb2-Dec-13 9:11 
GeneralRe: What is an Object Pin
Rob Grainger28-Nov-13 5:35
MemberRob Grainger28-Nov-13 5:35 
GeneralRe: What is an Object Pin
michaelbarb28-Nov-13 13:55
Membermichaelbarb28-Nov-13 13:55 
GeneralRe: What is an Object Pin
Rob Grainger28-Nov-13 23:35
MemberRob Grainger28-Nov-13 23:35 
GeneralRe: What is an Object Pin
michaelbarb29-Nov-13 3:40
Membermichaelbarb29-Nov-13 3:40 
I think you just confirmed my conclusion:

. . . . Object is an ambiguous term. The only non-ambiguous terms are class and instance which we should use more often.

I do not think there is a single definition for object. Its meaning depends on the context of the discussion, the language, etc.

Since most often C++ is used in a Microsoft environment, then in general you can say that the base class of all classes is Object. It only shows there is another definition for the term Object. That is the relevant point. Please note the phrases "most often" and "in general". There are probably exceptions. Still, I suspect that even other implementations of C++ have a base class Object.

I have looked around and find Object is often the base class in many implementations of Java. Even some of the newer versions of ancient Lisp/Scheme that have added OOP use Object as the base class. I was very surprised at how consistent that usage is.
So many years of programming I have forgotten more languages than I know.

GeneralRe: What is an Object Pin
Rob Grainger2-Dec-13 3:35
MemberRob Grainger2-Dec-13 3:35 
GeneralRe: What is an Object Pin
michaelbarb2-Dec-13 9:00
Membermichaelbarb2-Dec-13 9:00 
GeneralRe: What is an Object Pin
Rob Grainger2-Dec-13 9:36
MemberRob Grainger2-Dec-13 9:36 
GeneralRe: What is an Object Pin
michaelbarb2-Dec-13 10:26
Membermichaelbarb2-Dec-13 10:26 
GeneralRe: What is an Object Pin
Rob Grainger2-Dec-13 11:01
MemberRob Grainger2-Dec-13 11:01 
GeneralIf in doubt: cast, cast and cast again Pin
Mardy Git14-Nov-13 8:05
MemberMardy Git14-Nov-13 8:05 
GeneralRe: If in doubt: cast, cast and cast again Pin
PIEBALDconsult14-Nov-13 10:06
professionalPIEBALDconsult14-Nov-13 10:06 
AnswerRe: If in doubt: cast, cast and cast again Pin
Mardy Git14-Nov-13 20:40
MemberMardy Git14-Nov-13 20:40 
GeneralRe: If in doubt: cast, cast and cast again Pin
ZurdoDev15-Nov-13 9:02
professionalZurdoDev15-Nov-13 9:02 
GeneralNone Pin
PIEBALDconsult1-Nov-13 12:41
professionalPIEBALDconsult1-Nov-13 12:41 
GeneralRe: None PinPopular
contracting19902-Nov-13 0:58
Membercontracting19902-Nov-13 0:58 
JokeRe: None Pin
Paulo Augusto Kunzel5-Nov-13 7:44
professionalPaulo Augusto Kunzel5-Nov-13 7:44 
GeneralRe: None Pin
contracting20135-Nov-13 23:07
Membercontracting20135-Nov-13 23:07 
GeneralRe: None Pin
Mohamad M. Mohamad7-Nov-13 5:09
MemberMohamad M. Mohamad7-Nov-13 5:09 
GeneralRe: None Pin
thatraja7-Nov-13 5:38
professionalthatraja7-Nov-13 5:38 
GeneralRe: None Pin
Thanks78727-Nov-13 18:38
professionalThanks78727-Nov-13 18:38 
GeneralRe: None Pin
Keith Barrow11-Nov-13 23:29
professionalKeith Barrow11-Nov-13 23:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.