Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what would be your favorite JS feature and what would be your least fav feature?  RSS feed

 
Ernesto Leyva
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what would be your favorite JS feature and what would be your least fav feature?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Favorite feature? That's a tough one. I guess I'd have to say closures, that allow JavaScript to be effectively used as a functional language. Simplifies everything.

Least favorite? Hmmm, maybe the with statement. Thank goodness it's going bye-bye.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
P.S. There are three chapters (3, 4 and 5) that cover functions and closures in detail.

And even though the with statement is discredited, it exists in the wild and developers may have to deal with it in legacy code, so we have a chapter devoted to it as well (chapter 10).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!