You mean the code looks strange? Are there better alternatives to the above code?

I do feel that the question is a little odd though.