Re: OOP versus Procedural/Functional [message #177629 is a reply to message #177628] |
Wed, 11 April 2012 17:06 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 4/11/2012 10:25 AM, Goran wrote:
> On 11.4.2012 13:16, crankypuss wrote:
>> I remember writing a Java application and trying to derive an actually
>> useful string class from the garbage they had declared "final" and that
>> was it for me and Java.
>
> Just for curiosity, which method you tried to override? Somehow i smell
> a good reason for "final" :)
Actually, I agree with Cranky on this one. I, too, have wanted to
override the java String class and been frustrated by its 'final'
attribute. I don't see why it couldn't have been created as non-final -
and it would have been a lot more usable.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|