Re:Don't use functions as callbacks unless they're designed ...
by foldr on Saturday February 06, 2021 @07:24AM
(#26046084)
You mean to avoid passing named functions? The suggested alternative still passes a function. Although unnecessarily wrapping a named function in a lambda is bad code style (in most languages), it doesn’t seem that disastrous of a habit to get into.
[ Parent
| on HN ]
There are no comments on this comment yet.