minus-squareSwitchUp@programming.devtoNo Stupid Questions (Developer Edition)@programming.dev•Is preloading/caching data before the actual method call an (anti)pattern?linkfedilinkarrow-up3·11 months agoSounds like Command-Query Separation (CQS) It states that every method should either be a command that performs an action, or a query that returns data to the caller, but not both. linkfedilink
Sounds like Command-Query Separation (CQS)