Bruh the learnJS community (not just reddit) is being gaslighted and manipulated by so called mentors and teachers trying to be smart. The early leaners being impressed by every destructuring stunt is not gonna help.
Please never writethink about the advantages and disadvantages before writing something like that in prod. If you sacrifice readability for cleverness and shortness at all costs your code will become unmaintainable.
Those who can, do; those who can't, teach [and make instagram posts with useless info].
from I don't fucking know
/ rant end sorry
Edit: Cheers to the deleted guy down there. He's right.
I agree. It's nice to know different ways but be very careful what you use and where.
Not so long ago I had to fix some of my code because I used let instead of var to declare some variables inside some block statement and some legacy headless browsers didn't support it.
71
u/blafurznarg May 06 '21 edited May 06 '21
rant /
Bruh the learnJS community (not just reddit) is being gaslighted and manipulated by so called mentors and teachers trying to be smart. The early leaners being impressed by every destructuring stunt is not gonna help.
Please
never writethink about the advantages and disadvantages before writing something like that in prod. If you sacrifice readability for cleverness and shortness at all costs your code will become unmaintainable.from I don't fucking know
/ rant end sorry
Edit: Cheers to the deleted guy down there. He's right.