i\'m still new to kotlin so take my question with a grain of salt
so i\'ve been learning about kotlin and in one of the articles i was reading about had this code as