#3: println() is a good idea

The output of println() is platform dependent. What line ending it uses (\r, \n, or \r\n) varies from platform to platform. This is an especially bad idea when writing data to network streams since most network protocols require a particular line ending (most commonly \r\n).


Previous | Next | Top
Other Presentations | Cafe au Lait Home
Last Modified May 16, 1999
Copyright 1999 Elliotte Rusty Harold
elharo@metalab.unc.edu