Kata13: Counting Code Lines - CodeKata
This week let's write something vaguely useful: a utility that counts the number of lines of actual code in a Java source file. For the purpose of this exercise, a line is counted if it contains something other than whitespace or text in a comment.
https://bitbucket.org/trikitrok/countcodelinesvalenciababysteps/src/0faf04d0842b011c1b8fbf9f650e3b94af77827c/src/LineCounter.java?at=default
Read full article from Kata13: Counting Code Lines - CodeKata
This week let's write something vaguely useful: a utility that counts the number of lines of actual code in a Java source file. For the purpose of this exercise, a line is counted if it contains something other than whitespace or text in a comment.
https://bitbucket.org/trikitrok/countcodelinesvalenciababysteps/src/0faf04d0842b011c1b8fbf9f650e3b94af77827c/src/LineCounter.java?at=default
Read full article from Kata13: Counting Code Lines - CodeKata