I don’t know Ruby, but I think that your code doesn’t work properly. It will count the karma score for every comment on the comments page. This includes the comment that you are replying to. I believe that you should have checked the author name somewhere before you added to the karma HashMap.
I’m pretty sure when I wrote that four years ago we didn’t have the previous comment for context on the user page. I agree with you that I wouldn’t expect it to work now.
I don’t know Ruby, but I think that your code doesn’t work properly. It will count the karma score for every comment on the comments page. This includes the comment that you are replying to. I believe that you should have checked the author name somewhere before you added to the karma HashMap.
I’m pretty sure when I wrote that four years ago we didn’t have the previous comment for context on the user page. I agree with you that I wouldn’t expect it to work now.
can we change that? :D it’s beautiful as a concept