Twenty years ago I worked for a company that had in the past paid their contractors by LOC count.
Turns out if you base the pay on that ... why create a function and call it repeatedly when you can just copy and paste the same code block over and over again