← Back to context

Comment by tobwen

11 hours ago

Added to AGENTS.md :)

How good is your model at picking good data structures?

There’s several orders of magnitude less available discussion of selecting data structures for problem domains than there is code.

If the underlying information is implicit in high volume of code available then maybe the models are good at it, especially when driven by devs who can/will prompt in that direction. And that assumption seems likely related to how much code was written by devs who focus on data.

  • > There’s several orders of magnitude less available discussion of selecting data structures for problem domains than there is code.

    I believe that’s what most algorithms books are about. And most OS book talks more about data than algorithms. And if you watch livestream or read books on practical projects, you’ll see that a lot of refactor is first selecting a data structure, then adapt the code around it. DDD is about data structure.

Would be cool to see the live reaction of Rob Pike to this comment

Unironically. Every time I asked a LLM to make something faster, they always tried blind code optimisations, rather than measure.