Global Feed Post Login
Replying to Avatar mattn

I understand what you says. :)

Using long variable names in a narrow scope can be noisy. Usually, as the scope gets narrower, what the variable points to should become more localised. For example, the relay URL list relayURLs is denoted relayURL in the loop, and the relay object resulting from that relayURL is named relay. However, if the range of occurrences of the variable is extremely small, it may be possible to avoid noise and use a single character. This is because the scope is narrow.

04
சாரு-秋陽 1y ago

Thank you - I understand better now 🙏🙏

But with co-pilot and chatGPT, I suppose it will matter slightly less. The art of reading code to understand may be siphoned off to bots 😅

Reply to this note

Please Login to reply.

Discussion

No replies yet.