Search This Blog

Translate

Sunday, March 12, 2023

Head First JavaScript Programming

This is a learning experience, not a reference book. We deliberately stripped out everything
that might get in the way of learning whatever it is we’re working on at that point in the

book. And the first time through, you need to begin at the beginning, because the book

makes assumptions about what you’ve already seen and learned.

We teach the GOOD parts of JavaScript, and warn you about the

BAD parts.

JavaScript is a programming language that didn’t come up through the ivy leagues with

plenty of time for academic peer review. JavaScript was thrown out into the world out of

necessity and grew up in the early browser neighborhood. So, be warned: JavaScript has

some great parts and some not so great parts. But, overall, JavaScript is brilliant, if you use it

intelligently.

In this book, we teach you to use the great parts to best advantage, and we’ll point out the

bad parts, and advise you to drive around them.

We don’t exhaustively cover every single aspect of the language.

There’s a lot you can learn about JavaScript. This book is not a reference book; it’s a learning

book, so it doesn’t cover everything there is to know about JavaScript. Our goal is to teach

you the fundamentals of using JavaScript so that you can pick up any old reference book and

do whatever you want with JavaScript.

This book does teach you JavaScript in the browser.

The browser is
not only the most common environment that JavaScript runs in, it’s also the
most convenient (everyone has a computer with a text editor and a browser, and that’s all you

need to get started with JavaScript). Running JavaScript in the browser also means you get

instant gratification: you can write code and all you have to do is reload your web page to see

what it does.

This book advocates well-structured and readable code based on

best practices.

You want to write code that you and other people can read and understand, code that will

still work in next year’s browsers. You want to write code in the most straight-forward way so

you can get the job done and get on to better things. In this book we’re going to teach you to

write clear, well-organized code that anticipates change from the get-go. Code you can be

proud of, code you’ll want to frame and put on the wall (just take it down before you bring

your date over).

We encourage you to use more than one browser with this book.

We teach you to write JavaScript that is based on standards, but you’re still likely to encounter

minor differences in the way web browsers interpret JavaScript. While we’ll do our best to

ensure all the code in the book works in all modern browsers, and even show you a couple












DOWNLOAD BOOK

No comments:

Post a Comment

Comments

Contact Form

Name

Email *

Message *