NavigationBlog Tags
Article Tags
Article Archive |
As you can see the Java implementation of Step 1 of 15 Exercises for Learning a new Programming Language was more complicated than the C# implementation. This was largely due to one factor. You can't poll whether someone is typing from the console in Java. The second problem is that you can't use a KeyEvent handler in the console, which would the second easiest solution to attempt. Finally a third problem is that by using an event handler you essentially need to use threading so that the loop doesn't interfere with the handler and you are able to interrupt properly. ...posted by dharh at Feb 10
|

- a little order in the chaos where the mind dwells


