But I would want to argue against using the variable name c for the lambda parameter as a short for candy. Candy is short enough that there is no real benefit in shortening it, in my opinion.
Also I don't think it's comparable to i in for-loops since i is very generic and c in your example is short for candy.
But I've seen longer streams with longer potential parameter names and counts where it definitely could make sense to shorten them in some way.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great read. I really like your writing style.
But I would want to argue against using the variable name c for the lambda parameter as a short for candy. Candy is short enough that there is no real benefit in shortening it, in my opinion.
Also I don't think it's comparable to i in for-loops since i is very generic and c in your example is short for candy.
But I've seen longer streams with longer potential parameter names and counts where it definitely could make sense to shorten them in some way.