Earlier quoted context omitted.
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?"
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.
Claude Sonnet 4 now supports 1M tokens of context
701–706 of 706 posts
Re: Claude Sonnet 4 now supports 1M tokens of context
#702Re: Claude Sonnet 4 now supports 1M tokens of context
#703Earlier quoted context omitted.
Which one did you use and when was this? I mean, no body gets anything working right the first time. You got to spend a few days atleast trying to understand the tool
It’s just a simple example of how knowing how to use a tool can make all the difference, and that can be improved upon with time. I’m not sure why you’re taking umbrage with that idea. I know this style of arguing you’re going for. If I answer your questions, you’ll attack the specific model or use case I was in, or claim it was too simple/basic a use case, or some other nitpick about the specifics instead of in good…
Re: Claude Sonnet 4 now supports 1M tokens of context
#704Earlier quoted context omitted.
Here's a paper from MIT that covers how this could be resolved in an interesting fashion: https://hanlab.mit.edu/blog/streamingllm The AI field is reusing existing CS concepts for AI that we never had hardware for, and now these people are learning how applied Software Engineering can make their theoretical models more efficient. It's kind of funny, I've seen this in tech over and over. People discover new thing, the…
The fact that this is happening is where the tremendous opportunity to make money as an experienced Software Engineer currently lies. For instance, a year or two ago, the AI people discovered "cache". Imagine how many millions the people who implemented it earned for that one.
Re: Claude Sonnet 4 now supports 1M tokens of context
#705Earlier quoted context omitted.
Bold claims. From my experience, even the top models continue to fail delivering correctness on many tasks even with all the details and no ambiguity in the input. In particular when details are provided, in fact. I find that with solutions likely to be well oiled in the training data, a well formulated set of *basic* requirements often leads to a zero shot, "a" perfectly valid solution. I say "a" solution because th…
> From my experience, even the top models continue to fail delivering correctness on many tasks even with all the details and no ambiguity in the input. You may feel like there are all the details and no ambiguity in the prompt. But there may still be missing parts, like examples, structure, plan, or division to smaller parts (it can do that quite well if explicitly asked for). If you give too much details at once, i…
But if in your perspective it does work, more power to you I suppose.
Re: Claude Sonnet 4 now supports 1M tokens of context
#706Earlier quoted context omitted.
I keep reading this, but with Claude Code in particular, I consistently find it gets smarter the longer my conversations go on, peaking right at the point where it auto-compacts and everything goes to crap. This isn't always true--some conversations go poorly and it's better to reset and start over--but it usually is.
I've found there usually is some key context that is missing. Maybe it is project structure or a sampling of some key patterns from different parts of the codebase, or key data models. Getting those into CLAUDE.md reduces the need to keep building up (as large) context. As an example for one project, I realized things were getting better after it started writing integration tests. I wasn't sure if that was the act of…