In my professional career (mostly pushing json around java middleware components, so not very broad I'll grant you) I have never come across or had a need to use java.util.Scanner
.
Only in the last week or so having been an active member of SO for the first time have I starting seeing it pop up all over the place.
Can anyone explain to me why this is? Is it a common topic in University courses or something? Is it the bog standard java way of creating a command line app? (when I was writing command line apps I was learning in .NET land). Am I missing out on something great? What tasks can it achieve other than effectively splitting an input stream with a regex?
Console.Read()
? It's the same thing.