It's definitely subjective but I think that readability and conciseness are commonly held as the defining factors of elegant code. If a new dev cannot go in and understand how the code functions AND efficiently make changes to implement updates, its definitely not elegant code. Just my thoughts as a student of the code