• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

legacy classes

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Can someone explain me the concpet of legacy classes/methods?
 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It would help to know that context, but without that I would suspect legacy refers to code that isn't being written as part of the current project. The term is often used for some old code you have to interface to, but if you have a project to update an application, the old code might be referred to as the legacy code. In describing a design, it can be important to point out which parts of the design represent legacy code, which typically is being used as-is, and which parts represent new work, which typically has to adapt to fit the legacy parts.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the beginning Sun released Java 1.0.
Then they stood back and looked at what they had made, and saw that all was not good.
And on the second release (1.1) they made it better.
And on the next release (1.1.x) it was better still.
And on the 1.2 release Sun created collections etc. and many of the early classes became obsolete.
However there remained much code that still used the old ways. In it's wisdom Sun did not want to break that code, and therefore left the legacy classes in place and these were marked "deprecated". In addition many methods of "improved" classes were marked "deprecated" to show the people the new way.
And Sun said "thou shalt start replacing this stuff, cuz we aren't going to wait forever to get rid of it".
And the people (did what???).
 
You didn't tell me he was so big. Unlike this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic