This is a split board - You can return to the Split List for other boards.

Young Earth Creationism is Sinful

#41OrangeWizardPosted 2/28/2013 7:51:56 PM
From: DoGCyN | #038
My point was in regards to how long it took. Typically 2000 lines takes longer than 300.


Not if you have a O(n^n) algorithm in the 300-line program and O(n) algorithm in the 2K line program.
---
Trolling and making valid arguments are not mutually exclusive things.
#42kozlo100Posted 3/1/2013 12:38:39 AM
Yea, just 'cause it's fun to nerd out about it, OW has the right of it as far as run time. For dev time it's actually pretty common for less elegant programs with more lines to be quicker and easier to write than more elegant ones with fewer lines.

It's kind of an art in a lot of ways, and often less is more.
---
Time flies like the wind,
and fruit flies like a banana.