Don't see anything so bad in this line of the code to blame that developer and especially "laugh out of hell". It's not even a mistake. Besides, all this seniority is not only about technical skills but soft skills a lot and how you treat and respect people (like without laughing about something like that).
Hey Maxim! Looks like you got my message wrong here. It's more about reviewing the code. I didn't comment on the code but went to the dev and we both had a good time laughing. Agreed! soft skills are a must :) Even I write worst codes sometimes and only code reviews help us achieve good quality.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.