Sunday, August 9, 2009

How to Use Dot Notation and Properties

Since we're talking so much about dot notation, I though I should link to a fabulously awesome blog post by Chris Hanson that tells how you should use dot notation and properties.


TC said...

Thanks for the link. I've enjoyed reading both your thoughts and the comments.

If it works for you, you should use it--it doesn't make you a better developer for using it or abstaining from it. A lot of organizations get hung up on style because it's easier to police it than substance (design and implementation).


Jeff LaMarche said...


In a large development organization, style guides are actually really valuable. With that many hands in the pot, consistency saves everybody time.

But, in a large organization, once something's down on paper, it can be hard to get rid of it even if it's outdated or incorrect.