tcorral / Design-Patterns-in-Javascript

Design Patterns applied to Javascript code.
http://tcorral.github.com/Design-Patterns-in-Javascript/
2.63k stars 528 forks source link

Hungarian notation #3

Closed ricardobeat closed 13 years ago

ricardobeat commented 13 years ago

The examples encourage the use of hungarian notation, like this.sDescription, this.oLight or this.aActors. I don't like it.

Just sayin'.

GarethElms commented 13 years ago

Hungarian notation is especially useful in Javascript where there is no static typing. Datatables.net uses this approach too