Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: There's Only One Way To Do It

by exussum0 (Vicar)
on Apr 06, 2004 at 16:24 UTC ( [id://343003]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: There's Only One Way To Do It
in thread There's Only One Way To Do It

In defense of deprecation, running java using a deprecated function will warn you. As for the java io stuff, it is rather unweildy. Unwieldy? It's a view of how things should be. Some people agree with it, some people don't. It's a problem with complex systems. People are more likely to agree on the simple end of life, not the more complex ones :\


-- "So far my experience has been that most people who go for certification have broad but not deep knowledge in the field and the flavor of the knowledge is academic. But every once in a while one finds a gem of a person who learns all the time and uses certification to prove it." -- on Orkut
  • Comment on Re: Re: Re: There's Only One Way To Do It

Replies are listed 'Best First'.
Re: Re: Re: Re: There's Only One Way To Do It
by hardburn (Abbot) on Apr 06, 2004 at 16:34 UTC

    running java using a deprecated function will warn you.

    I don't want it to warn me, I want the orginal fixed. One of the major selling points of OO is that you can encapsulate behavior, so DataInputStream.readLine should be fixed instead of moving that functionality somewhere else. You can deprecate methods if you decide the old design was broken, but if it's just the underlieing code that's broken, then you're ignoring one of the big benifits of OO by deprecating it.

    ----
    : () { :|:& };:

    Note: All code is untested, unless otherwise stated

      That's acceptable to a great agree. If it's broken, fix it. But what if the design is wrong. How can they replace the old design with a new design, while supporting the old one, and prevent new people from using the old design? Eventually, you have to break compatability.

      They do this with java.io. They've ripped out some of the internals and replaced it with some of the nio stuff. But some stuff are just bad joojoo.. like Thread.stop().

      -s


      -- "So far my experience has been that most people who go for certification have broad but not deep knowledge in the field and the flavor of the knowledge is academic. But every once in a while one finds a gem of a person who learns all the time and uses certification to prove it." -- on Orkut

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://343003]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-18 16:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found