Dustin Diaz shares some cool tips on making Async JavaScript (Ajax) work faster on the client-side using the Lazy Function Definition Design Pattern.
Dustin Diaz shares some cool tips on making Async JavaScript (Ajax) work faster on the client-side using the Lazy Function Definition Design Pattern.
Lazy Func Def is just a ANTI-PATTERN. Please read my comments on Peter’s blog.
And it won’t make ajax faster, because compare to HTTP network IO, the cost of object initialization can be ignored at all.