3 ms·
Interesting idea. This will work with C (for now), but it will fail with language like C++ where you can have lambdas. When a lambda is a function parameter, i
by fstrthnscnd 5y ago
Interesting idea.
This will work with C (for now), but it will fail with language like C++ where you can have lambdas. When a lambda is a function parameter, it will need to be aligned to other parameters, but the lambda body will require indentation.
Of course, there are ways of avoiding the problem, eg. by using a variable for the lambda, yet isn't this sweeping things under the rug?