Which is more effective in coding? Reducing line of code and execution of code?

Posted by Ayyappan.Anbalagan on Programmers See other posts from Programmers or by Ayyappan.Anbalagan
Published on 2012-11-07T10:22:10Z Indexed on 2012/11/07 11:20 UTC
Read the original article Hit count: 172

Filed under:

I have this doubt many years. I am wring some code to achieve some functionality. For example I am writing 20 lines of code to achieve the functionality and my co worker writing the code for the same functionality with just 5 lines. Since he used some looping statement to achieve that, but that code will execute around 30 to 50 times.

So which is best way of coding? As per my knowledge I always try to reduce coding length as much I can.

© Programmers or respective owner

Related posts about coding