by capableweb · 5y ago · 0 comments
If you never pulled out code into its own separate function just in order to name some lines of code, you should give it a try. You can avoid a lot of comments and/or confusion by just structuring your code in a way that allows you to name lines of code as concepts and abstractions. No need for it to happen more than once for you to do so.
But I don't understand your point in bringing it up here.
> "It is not worth doing," she said, [it=foobar]
baz(it) = "$it is not worth doing"
baz("foobar")
`it` is neither a descriptive identifier, nor did I see a suggestion for what the function `baz` could be called to make it descriptive.