Should I continue teaching old Java input methods alongside the new ones?
Posted
by
user1598390
on Programmers
See other posts from Programmers
or by user1598390
Published on 2012-10-31T02:43:18Z
Indexed on
2012/10/31
5:20 UTC
Read the original article
Hit count: 231
I've been imparting a Java introduction course for several years. Some slides explain how to read from files and keyboard using BufferedReaders, InputStreams, FileInputStreamReaders
etc.
I'm adding slides explaining how to achieve this using more up to date approaches like Scanner
.
Should I leave out the old BufferedReaders, InputStreams and FileInputStreamReaders
slides altogether, and teach only the new methods, or should I continue to teach these methods for the sake of completeness ?
Will my students benefit from learning how to read from files and keyboard the old way ?
© Programmers or respective owner