Phobos is now on dsource

Robert Fraser fraserofthenight at gmail.com
Tue Nov 27 08:16:44 PST 2007


Peter C. Chapin wrote:
> A large standard library bulks up the language (where by "language" I
> mean the actual programming language plus its standard library
> facilities). Such bulk is undesirable in places where it isn't needed,
> such as embedded systems or other small scale environments.

Then why does Java thrive in such environments, i.e. cell phones, etc.? 
(okay, J2ME is a bit smaller than J2SE, but it's a far cry bigger than 
the C stdlib)

IMHO, the bigger the standard library, the better in most cases. 
Standard library code is well-reviewed and tested, so you can generally 
count on it more than 3rd party libraries, open source or not. Arguably 
more importantly, having a standard way of doing things makes code more 
consistent, reducing incompatibilities and portability issues. Further, 
if everyone knows the standard library (or a piece of it), a new 
developer can join the team and be instantly familiar with how to craft 
their code, and what the existing code does, without reading extensive 
documentation.



More information about the Digitalmars-d-announce mailing list