Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Seeking design advice on a Tabulator

Name: Anonymous 2011-01-07 9:53

My Tabulator counts the lines of code, comments, whitespace in a java file.

Usage:
java Tabulator ./SomeCode.java

output:
fname,         #code, #comments, #whitespace, #total
SomeCode.java, 56,    10,        15,          81

My professor wants me to apply this to a directory.
So: java Tabulator .
Would create a text file with all the statistics.
She said to use make to automate the process but after doing some research I found that java can handle the automation alone.
See the DirList example:
http://www.tutorialspoint.com/java/java_file_class.htm

TL;DR Is Make or pure Java better at automating a line counting program?

Name: Anonymous 2011-01-07 10:52

>>11
Pseudocode:
if __name__ == "__main__":

I don't know any more than that.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List