
May 3, 2009
4:28 a.m.
On 2 May 2009, at 21:16, spir wrote:
I have (painfully) learnt a reflex to use 'ranj' for range, 'Seq' for list, 'typ' for type, etc... But maybe its me and I'm the only one ;-)
Isn't the convention to suffix a name with an underscore when it would clash with a builtin? (range_, list_, type_, etc.) I'm not sure how much I like that stylistically, but I've seen it used a lot. (I think in some cases there are better alternatives -- e.g. instead of naming a variable "seq" or "list_", I'd have the name specify what it's a list *of*.)