3 ms·
if you're already committing to generic names, what's wrong with a name like `processed_result`?
by philipov 1y ago
if you're already committing to generic names, what's wrong with a name like `processed_result`?
- snarfy 1y agoIn the flow he describes you end up with processed_processed_processed_result.
- WhyNotHugo 1y agoJava mentioned!
- throwway120385 1y agoI think what they're getting at is that they sometimes use composition of functions in places where other people might call the underlying functions as one procedure and have intermediate results. At the end of the day, you're all saying different ways of keeping track of the intermediate results. Composition just has you drop the intermediate results when they're no longer relevant. And you can decompose if you want the intermediates.
- catlifeonmars 1y agoThat name is kind of redundant, since `result` implies `processed` in the first place.