T
Tom Gur
Hi,
What is early/late binding ?
What is early/late binding ?
Tom said:What is early/late binding ?
Hi,
What is early/late binding ?
Hi,
What is early/late binding ?
Neelesh Bodas said:In C++, virtual functions follow late binding. Non virtual functions
follow early binding.
I think it's the resolution of function address(es) in the code where
the function(s) is (are) called. Early binding (referred to as "static"
or "compile-time" or "link-time" binding) means resolving the address
based on the type information available at compile time. Late binding
(also "dynamic binding" or "run-time binding") means resolving the
address based on type information available [only] at run time and
depending on some condition not known at compile-time.
What does Wikipedia say?
James said:The Wikipedia is fun for a lot of things, but it can
hardly be considered a source of reliable information.
Juha said:So the urban legend says, yet I have yet to see with my own
eyes unrealiable information there. Sure, there are examples.
I just haven't seen any myself.
So the urban legend says, yet I have yet to see with my own
eyes unrealiable information there. Sure, there are examples.
I just haven't seen any myself.
I've run into a number of them. But that's not the point. The
point is that there is no guarantee of reliability; unless you
already know the answer, you don't know whether what the article
says is correct or not.
* James Kanze:
Sorry friend James, I have to disagree strongly with you there.
There's no such thing as absolute correctness: it's just a
question of probability of correctness, and Wikipedia compared
favorably to old Encylopedia Britannica in that respect last
time it was checked.
It's the same issue as with longish mathematical proofs, approaching or
exceeding computer programs in complexity (hence, possibility of bugs).
The four-color theorem was proved by computer, but how do you trust
the proof when it runs to zillions of pages, and how do you trust the
program that generated it? Even worse for mathematicians who
irrationally believe in the concept of absolute correctness (there are
some irrational mathematicians, even of the very best), some people of
high standing argue that probabilistic proofs, proofs that you know at
the outset only give a probability (albeit near certainty), are Just As
Good(TM) as fallible absolute proofs, with about the same probability...
And that is simply false. (Although in fact, I don't think it
was ever checked.)
From my own experience, about one article in
two contains some more or less important error.
Note that I'm not against Wikipedia per se. I find it a lot of
fun, and enjoy reading it. But I also find that it is being
rather systematically used for something it is not: an
authorative source.
I've run into a number of them. But that's not the point. The
point is that there is no guarantee of reliability; unless you
already know the answer, you don't know whether what the article
says is correct or not.
* James Kanze:
Now, now, listen to Alf, I say.
"Wikipedia is about as good a source of accurate information as
Britannica, the venerable standard-bearer of facts about the world
around us, according to a study published this week [December 15, 2005]
in the journal Nature."
Yes, it averages to about 2 or 3 errors per article (page) in
either encyclopedia, and that's the usual.
E.g. check out the errata list for any serious, good technical book,
such as TCPPPL: it's /long/.
On the other hand, the really bad books seemingly are error-free, no
errata lists published, and naïve novices believe 'em. They're just
like magazines (like old Object magazine, very unfortunately merged into
DDJ if I recall correctly) that don't publish letters to the editor.
Wikipedia is at the absolute other end of the spectrum: you can leave
discussion comments freely, and you can /fix/ it -- and should.
[snip]Note that I'm not against Wikipedia per se. I find it a lot of
fun, and enjoy reading it. But I also find that it is being
rather systematically used for something it is not: an
authorative source.
Yes, I agree, and add: it can be stupid to cite a "fact" with reference
to Wikipedia, because when someone follows the reference, the Wikipedia
article might have changed, omitting that "fact", but on the other hand
it can be intelligent if the "fact" is in doubt, because when someone
follows the reference, the article might have been corrected.
And the nice thing is that you can follow the references and google for
terms and facts found in the articles, and find authoritative sources.
Not that those more authoritative sources necessarily have better error
rates, but, they're authoritative, so nobody can fault you... ;-)
Very true, but isn't this more broadly true of the internet
as a whole ?
(Wisdom imparted by the more august members of this n.g.
being a different matter, of course)
* James Kanze:Now, now, listen to Alf, I say.
"Wikipedia is about as good a source of accurate information as
Britannica, the venerable standard-bearer of facts about the world
around us, according to a study published this week [December 15, 2005]
in the journal Nature."
Did you read the rest of the article?
There's no simple solution; learning any complex subject is
difficult, and involves real work. And intellectual laziness
seems to be the in thing these days: everyone just wants to "plug
in" expert knowledge, and imagines that they can. And the
Wikipedia (perhaps not intentionally) panders to this attitude.
(In a way, so does any encyclopedia. But there's something
about having to physically go to the bookshelf, and lift a heavy
tome, that suggests that some work is involved. Today, you just
Google, take the first hit, and consider yourself an expert.)
James said:From my own experience, about one article in
two contains some more or less important error. In some cases,
serious errors, which would give the reader a very false
impression of what the current state of the art is.
Bo said:Here's a list of pages claimed to be in great need of a cleanup:
http://en.wikipedia.org/wiki/Image:Broom_icon.svg
If that's so then it shouldn't be a problem for you to list
a couple of dozens of wikipedia pages and the errors in them.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.