27 Replies - 1421 Views - Last Post: 28 December 2011 - 11:39 AM
#1
Best Definition: What is an object?
Posted 24 December 2011 - 11:15 AM
Or, for those more metaphysically minded, the object class is computer science's answer to the question "What are the properties of all Xs? What do all Xs have in common?"
However, these either abstruse or simplistic definitions kind of miss the point. I am looking for a good 1 sentence definition that I can tell people who aren't as familiar with programming.
Any ideas?
Replies To: Best Definition: What is an object?
#2
Re: Best Definition: What is an object?
Posted 24 December 2011 - 11:22 AM
#3
Re: Best Definition: What is an object?
Posted 24 December 2011 - 11:28 AM
"It is the thing you do stuff to" - Sounds dirty to me <wink>
An object is the instance of a class.
A class is a block of code that contains methods, fields, properties, enums, structs and other data types that combine to make the abstract template for the creation of said object.
class DodgeRam
{
// Until it is instantiated its just a hypothetical. A template or blueprint for building
}
object myDodgeRam = new DodgeRam; // But myDodgeRam is an instance.. It is a hard object than I can work with
#4
Re: Best Definition: What is an object?
Posted 24 December 2011 - 11:28 AM
#5
#6
Re: Best Definition: What is an object?
Posted 24 December 2011 - 11:39 AM
muricula, on 24 December 2011 - 12:28 PM, said:
Maybe its just me but...
I would leave being a sarcastic smart ass to the people who are providing help. It doesn't work as well for you rookies asking others for the answers to their homework.
#7
Re: Best Definition: What is an object?
Posted 24 December 2011 - 11:49 AM
Second, being talked down to consistently is not a good way to keep users around, if you care.
Previously I have asked some pretty complex questions, and I have not received the help I have wanted here. I was hoping that some professionals could help me, but I guess not.
#8
Re: Best Definition: What is an object?
Posted 24 December 2011 - 12:01 PM
Quote
I don't know why you say you aren't getting resonses to our questions. Looking at all your topics only 1 of them has zero responses. All the rest have between 1 and 9 responses. Could you be more specific about a thread that you didn't receive the help you wanted?
#9
Re: Best Definition: What is an object?
Posted 24 December 2011 - 09:10 PM
#10
Re: Best Definition: What is an object?
Posted 24 December 2011 - 09:25 PM
Also tlhIn`toq, I think that your definition is good and accurate, but a little technical. It might take some explaining to an absolute beginner what a class and its instance is (which may be necessary to define an object). So I was hoping that I could get a simple definition which did not include a bunch of technical terms, which I lumped together as "stuff."
One thing I want to learn while learning programming is how to teach programming. It is one thing to learn a subject, and another to teach it.
Sorry if I came across poorly, the internet is notorious for that. These are the pitfalls of text based communication.
#11
Re: Best Definition: What is an object?
Posted 24 December 2011 - 09:29 PM
cilaes, Lead by example: if you feel he's looking for a discussion then have one with him on the subject rather than just posting a paragraph on how the experienced people here are wrong. Show us how its done.
#12
Re: Best Definition: What is an object?
Posted 24 December 2011 - 09:34 PM
#13
Re: Best Definition: What is an object?
Posted 24 December 2011 - 09:44 PM
muricula, on 24 December 2011 - 10:25 PM, said:
Also tlhIn`toq, I think that your definition is good and accurate, but a little technical. It might take some explaining to an absolute beginner what a class and its instance is (which may be necessary to define an object). So I was hoping that I could get a simple definition which did not include a bunch of technical terms, which I lumped together as "stuff."
I think you're being a little optimistic about trying to find a dumbed-down single sentence to explain a complex subject.
Its like trying to find a single "laymen friendly" sentence to describe the receiving transponder of a satellite dish, to someone that doesn't understand radio or TV or transmissions or electronic communications. There is no point of common reference to build upon.
Technical subjects have this tendency to require explanations and not single sentence 'tag lines' like a breakfast cereal.
I don't think you could find an adequate single sentence, non-technical description for a fuel injector that you could say to someone who knew nothing about the mechanics of an internal combustion engine that would actually convey its purpose or operation.
The basis of communication is having a common starting point in both language and contextual background reference. I couldn't have a meaningful conversation with some gang-banger from the hood because I don't speak his urban dialect of English and don't have his background. The same problem exists in what you describe you're trying to do. You're not going to find a sentence in vanilla English that you can say to a non-nerd. The nature of this industry is that we speak in a geek dialect of English with a background of experience that is as much in a computer as in the world.
cilaes, on 24 December 2011 - 10:34 PM, said:
I love my iPad. I must have 100 text/reference books on it. VNC client. Monopoly. And tons more.
The more you have one, the more you find you can do with it.
#14
Re: Best Definition: What is an object?
Posted 24 December 2011 - 10:08 PM
Quote
cilaes, on 24 December 2011 - 11:34 PM, said:
I want to second the point cilaes made. When I've taught programming, I try and get people to a point where they are comfortable with the technical terms. When I introduce Java, I start early on by saying that there are two types of data- primitives and objects. If it's not a primitive, it's an object. As I continue, I introduce Strings, arrays, conditionals, and loops. Strings require the equals() method over the == operator for equality testing, so I go into the reasoning for this. That expands on what an Object is. Then when I begin to hit OOP topics, the people I teach get a better understanding of Objects. The scope of an Object in a specific language isn't something that can be summed up in one sentence easily, with any useful information being conveyed.
If your interest is teaching, my thread Getting Better at Programming Java might be of some help. Even if you are looking at teaching another language, hopefully my thread can help you better formulate a curriculum.
#15
Re: Best Definition: What is an object?
Posted 24 December 2011 - 10:19 PM
|
|

New Topic/Question
Reply



MultiQuote









|