Hacker News new | ask | show | jobs
by amadeuspagel 994 days ago
What if it isn't a message? What if "msg" is already used for another variable?
3 comments

This is some wonderful performance art you’re doing here
`greetingMsg`? `greeting`? Naming the other one differently? Splitting the work done with that message and the work done with this message into their own functions?
Frankly, this always sounded like a readability issue seeking a readability problem. Splitting because the names clash, because you decided to name things, because a one-liner was less than ideally readable.
"_msg", then.