• 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

Library classes

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

Need some sharing here on what is writing library classes and its benefits?
I would prefer if someone can give me an example of it...

Thanks & Best Regards
SK
 
Ranch Hand
Posts: 490
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A library class is a class that offers useful functionality that others might want to include in their program. For example, see the standard library of any language. The benefits are code reuse, faster development, predictible results, ect.

There are many reasons you might want to write some of your own.

You can often beat the execution speed of standard libraries, at the cost of extra development time and perhaps lessened reusability.

You might need functionality not found elsewhere.

You want to learn how to program, as opposed to just learning how to use java tools. Writing your own data structures, searching, sorting,networking, graphics, math libraries are great ways to become a better programmer and learning what is going on behind the scenes.
[ June 08, 2006: Message edited by: Rusty Shackleford ]
 
Live ordinary life in an extraordinary way. Details embedded in 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