Comment

Comment by nahnahno

This is not what premature optimization is the root of all evil means. It’s a tautological indictment of doing unnecessary things. It’s not in support of making obviously naive algorithms. And if it were it wouldn’t be a statement worth focusing on.

As the point of the article is to see if Claude can write better code from further prompting so it is completely appropriate to “optimize” a single implementation.

parent nahnahno 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton