News for hackers. Stuff that matters.
Re:Claude Sonnet 4 now supports 1M tokens of context by parpfish on Tuesday August 12, 2025 @03:53PM (#44881114)
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?"

Re:Claude Sonnet 4 now supports 1M tokens of context by vanviegen on Tuesday August 12, 2025 @04:41PM (#44881582)
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.
Re:Claude Sonnet 4 now supports 1M tokens of context by jama211 on Thursday August 14, 2025 @04:04PM (#44905011)
Ehh, in my experience if you are using an LLM in context they are better these days at conforming to the code style around it, especially if you put it in your rules that you wish it to.
Re:Claude Sonnet 4 now supports 1M tokens of context by jama211 on Thursday August 14, 2025 @04:03PM (#44904997)
Absolutely fair, and a great method.