Can this code be shortened using variables?

That's the opposite of "expert code"! That's more "crappy code".

Ok, I agree that crappy code that works is better than crappy code that doesn't work.

But crappy code that nobody can understand or maintain is no better and no worse than any other crappy code :wink: