mmm... 'was talking about "code reviewing" more than anything. I actually thought that you meant that the solution wasn't efficient because it uses string containment check (which would have been true), but wasn't sure. So, seeing your solution (where you effectively overcomplicated the stuff a bit ;) ), I was interested to know about the actual reason of your first message.
This comment is hidden because it contains spoiler information about the solution
And then on production suddenly there are 393 goals in a match for some reason..
This solution is wrong as it would count ") :" as a smiley face.
mmm... 'was talking about "code reviewing" more than anything. I actually thought that you meant that the solution wasn't efficient because it uses string containment check (which would have been true), but wasn't sure. So, seeing your solution (where you effectively overcomplicated the stuff a bit ;) ), I was interested to know about the actual reason of your first message.
Nothing more... ;)
cheers
might be more useful for other users if you develop a bit, don't you think?