Aug-27-2017, 01:22 PM
This code is very hard to read.
I'll come back to it sometime today when I have less to do.
One thing i will mention on your modifications, it's OK to (in fact you should) break long statements
like:
I'll come back to it sometime today when I have less to do.
One thing i will mention on your modifications, it's OK to (in fact you should) break long statements
like:
ratiofile.write( docType + ',"' + entityName + '",' + entityCIK + "," + docEndDate + "," + '{0:.2f}'.format( currentRatio ) + "," + '{0:.2f}'.format( quickRatio ) + "," + '{0:.2f}'.format( cashRatio ) + "\n" )into multiple lines like:
ratiofile.write( docType + ',"' + entityName + '",' + entityCIK + "," + docEndDate + "," + '{0:.2f}'.format( currentRatio ) + "," + '{0:.2f}'.format( quickRatio ) + "," + '{0:.2f}'.format( cashRatio ) + "\n" )And much easier to read.