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.

Reply to this note

Please Login to reply.

Discussion

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 😅