Ad
  • Custom User Avatar

    The variables did absolutely help with readability. For me, your code was the easiest to read.

  • Custom User Avatar

    Yeah you're right it is. I looked at some benchmarking and it's about 50-100ms faster depending on the run, tbh it just wasn't something I thought about haha. I'll keep it in mind for the future though! Thanks for pointing it out :)

    Looking at it even more I don't even need those variables but I think it helps the readability in this case.

  • Custom User Avatar

    Nicely done. But why do you redefine the "timeForLunaHome" and the "meetTime" variable. Is it not better only define them once outside the while loop?