▲ | parpfish 3 days ago | |||||||
i dont care if the code is elegant, i care that the code is consistent. do the same thing in the same way each time and it lets you chunk it up and skim it much easier. if there are little differences each time, you have to keep asking yourself "is it done differently here for a particular reason?" | ||||||||
▲ | vanviegen 3 days ago | parent | next [-] | |||||||
Exactly! And besides that, new code being consistent with its surrounding code used to be a sign of careful craftsmanship (as opposed to spaghetti-against-the-wall style coding), giving me some confidence that the programmer may have considered at least the most important nasty edge cases. LLMs have rendered that signal mostly useless, of course. | ||||||||
| ||||||||
▲ | jama211 a day ago | parent | prev [-] | |||||||
Absolutely fair, and a great method. |