Global Feed Post Login
Replying to Avatar Quentin

In terms of performance the difference is minimal, if we get detailed `const` helps the compiler to optimize performance by ensuring that the reference remains constant, on the other hand ‘let’ minimally overloads the compiler as it must allow it to overwrite.

We would optimize more by cleaning the fans of the pc than with this 🤣🤣🤓

Avatar
fiatjaf 1y ago

Then please start writing `let`!

Reply to this note

Please Login to reply.

Discussion

Avatar
Quentin 1y ago

🫡🫡🫡🤓🤣

Thread collapsed
Avatar
Dawlat Moustafa 1y ago

Maybe there is a preference towards constant unchangeable variables; that’s why.

Thread collapsed