Monthly Archives: February 2017

Eliminate Comments with Lambda Expressions

If you have been converting your code comments into code by creating small functions, I found an interesting alternative that uses lambda expressions. This starts with a post on a forum run by John Somnez. One reader made a comment that your functions should not be too short. John replied that short functions are desirable because you can avoid comments by using small functions. The name of the function essentially takes the place of the comment. I follow this coding practice but I thought that Continue reading →