Explore
Trending
Analytics
Nostr Archives
Explore
Trending
Analytics
hodlbod
5d ago
I (and the LLMs) spend way more time switching between const and let because the linter tells us to than relying on something not being reassigned because it's declared with const. If you need const, your scopes are too big.
💬 2 replies
❤️
0
Reactions
🔁
0
Reposts
⚡
0
Zaps
Thread context
Root:
870a287751bc…
Replying to:
8cd56631bd36…
Replies (2)
Nuh
5d ago
Just use Rust everywhere... If LLMs are so good, what is the purpose of JavaScript at this point?
0
0
0
0 sats
Pip the WoT guy
5d ago
so you want const to be used only for global constant, for example const SecondsInDay. Correct?
0
0
0
0 sats