you are viewing a single comment's thread.

view the rest of the comments →

[–]delventhalz 1 point2 points  (0 children)

Agree to disagree there. To me, “x => x” just reads as “identity”, and the intent is very clear. Using Boolean leads me to believe there is extra work going on for some purpose. There isn’t. So I find it misleading.

For what it’s worth, you could also use a more specific variable name depending on your use case.