News for hackers. Stuff that matters.
Re:Specsmaxxing – On overcoming AI psychosis, and why I writ... by ffsm8 on Sunday May 03, 2026 @08:06AM (#47996115)
> Does the business mandate we use a cache for this hot path? No, but the business set performance targets, and the cache was a sensible way to satisfy them. See the difference?

That's a non functional requirement (NFR).

If that exists, (fantastic!) then you should add that to the code. Some languages let you do hat directly on the rpc Apis/rest resources, i.e. java most commonly used frameworks let you define them via annotations.

And as the sister comment pointed out, yes, that cache becomes part of your spec to achieve that NFR

There are no comments on this comment yet.