|
Kirk - not arguing, but you've gone right where I've found inheritance to be most useful - definition, layout, base behavior of graphical items - completely agree.
What I've found is that when I start getting into more application domain objects, one needs be very, very careful.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Charlie,
Absolutely. Inheritance is core to GUI components (a button). Subclassing that, and making it a graphic button, etc. Wonderful.
But it is the ONE area of OOP that really requires "Architectural Forethought". And if I am not building a complete framework, I try to limit my inheritance requirements. But it is great when you have a client say: We need to generate a PDF of any of the given screens, and you can add that to the base class, expose the access method and bam... 40 screens now have cool functionality!
|
|
|
|
|
Now that's just a good damn idea - right up there with a brilliant flash of the obvious. You could almost leave the base class empty as a hook.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
If you are out to impress the ladies, wear a Selachimorpha costume.
'Cause every girl crazy 'bout a shark dressed man.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
But some choose to be lone sharks.
|
|
|
|
|
|
How do you Mako this stuff up?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
|
Which one: [^] ?
Them is can be pricy: [^].
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.
|
|
|
|
|
Something very fishy about that one. Nonetheless, it will tide me over until tomorrow.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
You need a porpoise in your life.
|
|
|
|
|
On a scale from one to ten, how does carping as a pro-fish-ional pundit fill the bill?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
I fear it's too late for that. Fins aren't what they used to be!
|
|
|
|
|
I just found out the project I've been working on for the past few months needs IE8 support...
Step 1: Bravely start by changing your version of jQuery.
Step 2: Behold all the errors as IE revels in wickedness.
Step 3: Cry.
Step 4: Apply for a job at McDonalds.
Whyyyyyyy!?
|
|
|
|
|
Sander Rossel wrote: Apply for a job at McDonalds.
Whyyyyyyy!?
Because you're lovin' it?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Compared to IE8? Oh yes, I love McDonalds!
|
|
|
|
|
Put this in the html header and you're done:
<!--
|
|
|
|
|
Why stop at IE9?
|
|
|
|
|
It could have been worse... IE6...
|
|
|
|
|
Or Netscape
|
|
|
|
|
Fortunately for me, the powers-that-be finally listened and declared us a FireFox shop. Prior to that it was IE8.
I developed everything to work in both.
Now I don't.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: I developed everything to work in both.
Now I don't.
|
|
|
|
|
Sander Rossel wrote: Step 4: Apply for a job at McDonalds.
You'll be happier.
Marc
|
|
|
|
|
Yeah, until I find out their cash register still runs on COBOL
|
|
|
|
|
Sander Rossel wrote: still runs on COBOL
Well, that's McROFL-able
|
|
|
|