You should comment more. Just as an fyi. This code is pretty obvious, but it can be difficult to read, especially when your brackets are not lined up. For example, it is almost impossible to see where that while() loop ends. You might want to put inline comments before large blocks of code like that.
No comments:
Post a Comment