473,734 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Q]Object:formal definition and description?

This may seem like such a simple question, I should be embarrassed to ask
it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"? What, if
any, associated semantics are shared by all objects? That part seems to go
beyond the FAQ.

Does anybody know of a resource that discusses (focuses on) this topic?

--
p->m == (*p).m == p[0].m
http://www.kdevelop.org
http://www.suse.com
http://www.mozilla.org
Jul 22 '05 #1
44 2450
Steven T. Hatton wrote:
This may seem like such a simple question, I should be embarrassed to ask
it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"? What, if
any, associated semantics are shared by all objects? That part seems to go
beyond the FAQ.

Does anybody know of a resource that discusses (focuses on) this topic?

No, I know of no resource, but the statement "a region of storage with
associated semantics" is sorta kinda equivalent to "data with operations
related to that data".

Does that help?

mark

Jul 22 '05 #2
Steven T. Hatton wrote:
This may seem like such a simple question, I should be embarrassed to ask
it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"? What, if
any, associated semantics are shared by all objects? That part seems to go
beyond the FAQ.

Does anybody know of a resource that discusses (focuses on) this topic?

No, I know of no resource, but the statement "a region of storage with
associated semantics" is sorta kinda equivalent to "data with operations
related to that data".

Does that help?

mark

Jul 22 '05 #3
"Steven T. Hatton" <su******@setid ava.kushan.aa> wrote in
news:oM******** ************@sp eakeasy.net:
This may seem like such a simple question, I should be embarrassed to
ask it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"?
Associated semantics define behaviour (probably a bad word) in some
context.

For example, an object in the context of C++ *can be* for example "A
region of storage with a set of methods defined". Of course this much
more specific than what you've quoted.
What, if any, associated semantics are shared by all objects? That
part seems to go beyond the FAQ.
I don't mean to sound harsh, but this question reminds me of "Why the
earth is spherical".

Does anybody know of a resource that discusses (focuses on) this
topic?


A technical dictionary?
comp.object newsgroup?

Regards.
Jul 22 '05 #4
"Steven T. Hatton" <su******@setid ava.kushan.aa> wrote in
news:oM******** ************@sp eakeasy.net:
This may seem like such a simple question, I should be embarrassed to
ask it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"?
Associated semantics define behaviour (probably a bad word) in some
context.

For example, an object in the context of C++ *can be* for example "A
region of storage with a set of methods defined". Of course this much
more specific than what you've quoted.
What, if any, associated semantics are shared by all objects? That
part seems to go beyond the FAQ.
I don't mean to sound harsh, but this question reminds me of "Why the
earth is spherical".

Does anybody know of a resource that discusses (focuses on) this
topic?


A technical dictionary?
comp.object newsgroup?

Regards.
Jul 22 '05 #5
bartek wrote:
"Steven T. Hatton" <su******@setid ava.kushan.aa> wrote in
news:oM******** ************@sp eakeasy.net:
This may seem like such a simple question, I should be embarrassed to
ask it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"?
Associated semantics define behaviour (probably a bad word) in some
context.


I'd accept something like how it is influenced by or influences the outcome
of programmatic operations. Maybe. Now, could I take an example such as
int, and provide an itemized list of related semantics? Not without a lot
more thinking than I've already done. I suspect scope, name resolution,
declaration, initialization, definition (yes I know), conversion, duration,
possible operations, referencing, etc. Would all be part of the semantics
of an object of type int. But to provide a comprehensive, orthogonal and
clearly specifying list of semantics would be quite a challenge.
For example, an object in the context of C++ *can be* for example "A
region of storage with a set of methods defined". Of course this much
more specific than what you've quoted.
What, if any, associated semantics are shared by all objects? That
part seems to go beyond the FAQ.


I don't mean to sound harsh, but this question reminds me of "Why the
earth is spherical".


I actually was faced with the interesting situation of meeting a reasonably
intelligent person who did *not* understand the concept that the earth is
spherical. He was from Eritrea, and had very little formal education. I
explained it to him in terms of Newtonian gravitation (without explicit
reference to the inverse-square force law.) But the Earth isn't exactly
spherical, and that takes a bit of explaining, as well. Nonetheless, I can
begin with simple concepts of classical physics and come up with a very
good approximation to what the shape of the Earth should be, and find that
it matches the observed reality. IOW, the question about the Earth is not
quite as simple as it seems at first, but it is answerable on the basis of
reasonably sound first principles.

Part of what I'm trying to get at is how much of the definition of the
concept of object is defined explicitly by the Standard, and how much is
defined by consequence of definitions which associate semantics with
specific categories of objects as 'side effects'? What /are/ the first
principles?
--
p->m == (*p).m == p[0].m
http://www.kdevelop.org
http://www.suse.com
http://www.mozilla.org
Jul 22 '05 #6
bartek wrote:
"Steven T. Hatton" <su******@setid ava.kushan.aa> wrote in
news:oM******** ************@sp eakeasy.net:
This may seem like such a simple question, I should be embarrassed to
ask it. The FAQ says an object is "A region of storage with associated
semantics." OK, what exactly is meant by "associated semantics"?
Associated semantics define behaviour (probably a bad word) in some
context.


I'd accept something like how it is influenced by or influences the outcome
of programmatic operations. Maybe. Now, could I take an example such as
int, and provide an itemized list of related semantics? Not without a lot
more thinking than I've already done. I suspect scope, name resolution,
declaration, initialization, definition (yes I know), conversion, duration,
possible operations, referencing, etc. Would all be part of the semantics
of an object of type int. But to provide a comprehensive, orthogonal and
clearly specifying list of semantics would be quite a challenge.
For example, an object in the context of C++ *can be* for example "A
region of storage with a set of methods defined". Of course this much
more specific than what you've quoted.
What, if any, associated semantics are shared by all objects? That
part seems to go beyond the FAQ.


I don't mean to sound harsh, but this question reminds me of "Why the
earth is spherical".


I actually was faced with the interesting situation of meeting a reasonably
intelligent person who did *not* understand the concept that the earth is
spherical. He was from Eritrea, and had very little formal education. I
explained it to him in terms of Newtonian gravitation (without explicit
reference to the inverse-square force law.) But the Earth isn't exactly
spherical, and that takes a bit of explaining, as well. Nonetheless, I can
begin with simple concepts of classical physics and come up with a very
good approximation to what the shape of the Earth should be, and find that
it matches the observed reality. IOW, the question about the Earth is not
quite as simple as it seems at first, but it is answerable on the basis of
reasonably sound first principles.

Part of what I'm trying to get at is how much of the definition of the
concept of object is defined explicitly by the Standard, and how much is
defined by consequence of definitions which associate semantics with
specific categories of objects as 'side effects'? What /are/ the first
principles?
--
p->m == (*p).m == p[0].m
http://www.kdevelop.org
http://www.suse.com
http://www.mozilla.org
Jul 22 '05 #7
* "Steven T. Hatton" <su******@setid ava.kushan.aa> schriebt:

What /are/ the first principles?


Think about this: in mathematics, which is thought of as fairly strict and
well-defined, perhaps the most well-defined of all possible fields, nobody can
agree on even what _kind_ of answers that question has. Yet mathematicians
can collaborate and can (to good approximation) understand each other's good
work, although not the bad. It's the same way in programming, only more so.

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 22 '05 #8
* "Steven T. Hatton" <su******@setid ava.kushan.aa> schriebt:

What /are/ the first principles?


Think about this: in mathematics, which is thought of as fairly strict and
well-defined, perhaps the most well-defined of all possible fields, nobody can
agree on even what _kind_ of answers that question has. Yet mathematicians
can collaborate and can (to good approximation) understand each other's good
work, although not the bad. It's the same way in programming, only more so.

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Jul 22 '05 #9
"Steven T. Hatton" <su******@setid ava.kushan.aa> wrote in
news:4I******** ************@sp eakeasy.net:
bartek wrote:
"Steven T. Hatton" <su******@setid ava.kushan.aa> wrote in
news:oM******** ************@sp eakeasy.net:
This may seem like such a simple question, I should be embarrassed
to ask it. The FAQ says an object is "A region of storage with
associated semantics." OK, what exactly is meant by "associated
semantics"?


Associated semantics define behaviour (probably a bad word) in some
context.


I'd accept something like how it is influenced by or influences the
outcome of programmatic operations. Maybe. Now, could I take an
example such as int, and provide an itemized list of related
semantics? Not without a lot more thinking than I've already done. I
suspect scope, name resolution, declaration, initialization,
definition (yes I know), conversion, duration, possible operations,
referencing, etc. Would all be part of the semantics of an object of
type int. But to provide a comprehensive, orthogonal and clearly
specifying list of semantics would be quite a challenge.
For example, an object in the context of C++ *can be* for example "A
region of storage with a set of methods defined". Of course this much
more specific than what you've quoted.
What, if any, associated semantics are shared by all objects? That
part seems to go beyond the FAQ.


I don't mean to sound harsh, but this question reminds me of "Why the
earth is spherical".


I actually was faced with the interesting situation of meeting a
reasonably intelligent person who did *not* understand the concept
that the earth is spherical. He was from Eritrea, and had very little
formal education. I explained it to him in terms of Newtonian
gravitation (without explicit reference to the inverse-square force
law.) But the Earth isn't exactly spherical, and that takes a bit of
explaining, as well. Nonetheless, I can begin with simple concepts of
classical physics and come up with a very good approximation to what
the shape of the Earth should be, and find that it matches the
observed reality. IOW, the question about the Earth is not quite as
simple as it seems at first, but it is answerable on the basis of
reasonably sound first principles.

Part of what I'm trying to get at is how much of the definition of the
concept of object is defined explicitly by the Standard, and how much
is defined by consequence of definitions which associate semantics
with specific categories of objects as 'side effects'? What /are/ the
first principles?


Because we see the world as somewhat "object oriented" ?

Sorry, perhaps because I look at C++ from a rather practical standpoint,
I can't imagine myself going into so much formal analysis and intricate
details, which actually bring no significant conclusions. I tend to take
it as it is.

I admire your quest for knowledge, and I'm jealous for the amounts of
spare time. :)

Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

44
1562
by: Steven T. Hatton | last post by:
This may seem like such a simple question, I should be embarrassed to ask it. The FAQ says an object is "A region of storage with associated semantics." OK, what exactly is meant by "associated semantics"? What, if any, associated semantics are shared by all objects? That part seems to go beyond the FAQ. Does anybody know of a resource that discusses (focuses on) this topic? -- p->m == (*p).m == p.m
8
1685
by: Sylvain Ferriol | last post by:
hello everybody, i want to talk with you about a question i have in mind and i do not find a answer. it 's simple: why do we not have a beatiful syntax for object definition as we have for class definition ? we can define a class in python in 2 ways: 1. by using the metaclass constructor my_class = MyMetaClass(....)
0
8946
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9182
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2724
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.