← Back to context

Comment by pickledish

1 day ago

Word, that one also includes an example which is great, shows really clearly what the issue is for those who might be less familiar

I'm unfamiliar with claudish and the example helped show the problem. But! There was something uncomfortably familiar in the Claudish example -- this is the way human programmers write when they're deep in the weedy details, and writing the changelist description afterwards as if coming up for air. Overuse of parentheses in nested lists especially, as if the English text needs to bend to the strict needs of a C++ parser.

The rewrite did seem to lose the important fact about the ensure- pattern being idempotent.