2 ms·
"... I'm not sure why you assume copying code leads to that code being bloated or unclean ..." DEFECTS if you cut+paste code from place to place and find a sin
by bootload 19y ago
"... I'm not sure why you assume copying code leads to that code being bloated or unclean ..."
DEFECTS if you cut+paste code from place to place and find a single defect in the block you have to go and find all the other instances you have pasted the code.
BLOAT If you cut+paste code it increases the number of lines of code within the codebase so the LOC increases.
Software development within a startup context is about creating code that is "reliable, smaller, cleaner & faster". Reusing code is good but not at the expense of modularity, bloat and defects. Not using cut & paste as a development practice isn't personal preference, its DEV 101 ~ http://en.wikipedia.org/wiki/Copy_and_paste_programming http://en.wikipedia.org/wiki/Copy_and_paste_programming