in reply to Re^2: On quoting the lhs of '=>'
in thread On quoting the lhs of '=>'

Honestly, I don't see the point. Are you trying to guard against accidental assignment? It doesn't seem worth the trouble to me.

Replies are listed 'Best First'.
Re^4: On quoting the lhs of '=>'
by rovf (Priest) on Jul 10, 2008 at 08:04 UTC

    To guard and, equally importantly, to show in the code that this is an entity which is defined, but not going to be changed. Maybe it is because I always feel a bit uncomfortable with the idea of a variable which changes the value over the time. I feel more at home in the realm of functional programming, where you don't have assignment statements which modifiy the content of a variable.

    Of course this is personal taste, but I still find it good practice to make clear in the code when an entity is supposed to be a constant.

    -- 
    Ronald Fischer <ynnor@mm.st>