Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BOOJS book questions

 
Mike Mc Afee
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are the code samples available that are contained in this book? I find that experimenting with the sample code is a great way to learn new techniques.

Are there progressive code samples where a concept is built up through-out the book or a lot of smaller examples?

How much time is OO concepts dealt with before jumping into the relationship with JS?
 
Stoyan Stefanov
author
Ranch Hand
Posts: 82
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike, there are no code downloads. The reason is that I don't want people to copy-paste, but would like to promote more hands-on experience. To me, the best way to learn code is to touch the code and ... well, to write it. So there are literally hundreds of small examples, one-, two-, few-liners. The book uses the Firebug javascript console as a learning tool. It allows you to open any page and play with it, or just to play with any code, not necessarily related to the page.

There's a free chapter, chapter 2, so you can see what I mean with the console and what to expect in terms of code examples and approach. So far the feedback I got is that this is a really great way to learn. Plus, the console has an auto-complete feature, so it's a good cheatsheet too.

As the book progresses, the concepts get a little more complicated, so the examples become a little longer, but never too long to type (and Firebug console has a multi-line mode too)

OO concepts - There is a bit of OO theory in chapter 1, it's more of an introduction to the concepts and the OO vocabulary and again, I tried to use examples to make it more clear. Got nice feedback about the presentation of the OO concepts too
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic