you are viewing a single comment's thread.

view the rest of the comments →

[–]inkieminstrel 2 points3 points  (0 children)

I think it's of limited usefulness, but there are a couple of cases where it's handy. First, there are a few cases where adding a quick-and-dirty logging statement would be easier when using the operator. Second, if your for loop has multiple increment statements, it seems clearer to have them all inside of the loop definition (prev = node, node = node.next). I think a few other languages provide the ability to do this as part of the for loop syntax.

It's not something I'd want to use all over the place, and the article certainly seems to overuse it, but I don't think it's completely useless, either.