IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New I wasn't trying to be sarcastic
But I know of no allegedly OO language where the method implementation lookup depends on the type of the reference you hold. It runs counter to how polymorphism is supposed to work in which the object responds based on the type of the object and not the type of the reference. So in that respect, C++ is just weird in OO world (and thus, counterintuitive).

Gotta warn the newbies.



[link|http://www.blackbagops.net|Black Bag Operations Log]

[link|http://www.objectiveclips.com|Artificial Intelligence]

[link|http://www.badpage.info/seaside/html|Scrutinizer]
New No need to specify OO in this case
So in that respect, C++ is just weird in OO world (and thus, counterintuitive).

That sentence stands on it's own with 'in OO world' removed.

Jay
New What does the type of the reference have to do with anything
The type of reference to the object is effectively the type of the object. There is no difference between having a const reference to an object in C++ and having a const object.
jb4
"So don't pay attention to the approval ratings that say 68% of Americans disapprove of the job this man is doing. I ask you this, does that not also logically mean that 68% approve of the job he's not doing? Think about it. I haven't."
Stephen Colbert, at the White House Correspondent's Dinner 29Apr06
     C++ question on const - (ChrisR) - (24)
         Don't change the object, I believe - (JayMehaffey) - (2)
             Doh. - (ChrisR) - (1)
                 More than that... - (jb4)
         Re: C++ question on const - (tuberculosis) - (20)
             I still don't understand... - (ChrisR) - (19)
                 Const is not always forced - (JayMehaffey)
                 Its counterintuitive - (tuberculosis) - (14)
                     Say WHAT?!? - (jb4) - (13)
                         You can overload on const - (tuberculosis) - (11)
                             Why the hell would it do / allow that? - (drewk) - (1)
                                 Bell labs has an unlimited crack budget - (tuberculosis)
                             The easiness to keep track of is not the issue - (jb4) - (8)
                                 Huh? - (tuberculosis) - (7)
                                     No... - (jb4) - (6)
                                         I think you're talking past each other... - (admin)
                                         And you specify that by.... - (tuberculosis) - (4)
                                             We'll leave it at that. - (jb4) - (3)
                                                 I wasn't trying to be sarcastic - (tuberculosis) - (2)
                                                     No need to specify OO in this case - (JayMehaffey)
                                                     What does the type of the reference have to do with anything - (jb4)
                         Nominating this for LRPD (new thread) - (lincoln)
                 Re: I still don't understand... - (jb4) - (2)
                     Which brings up another question. - (ChrisR) - (1)
                         Pure virtual functions - (tuberculosis)

You can put makeup on a pig. It's still a pig.
80 ms