top | item 45769795 (no title) halo | 4 months ago On a similar note, I’ve always liked the idea of being able to mark functions as pure (for some reasonable definition of pure).The principle of reducing state changes and side-effects feels a good one. discuss order hn newest jlmcgraw|4 months ago For what it's worth, I was experimenting with this idea for Python (in an almost completely vibe-coded fashion) here: https://github.com/jlmcgraw/pure-function-decoratorsWhether it's of any actual utility is debatable
jlmcgraw|4 months ago For what it's worth, I was experimenting with this idea for Python (in an almost completely vibe-coded fashion) here: https://github.com/jlmcgraw/pure-function-decoratorsWhether it's of any actual utility is debatable
jlmcgraw|4 months ago
Whether it's of any actual utility is debatable