Jump to ratings and reviews
Rate this book

Just JavaScript: An Idiomatic Approach

Rate this book
Just JavaScript is an attempt to understand JavaScript for what it really is - a very different language that should not be compared to Java or dismissed as simply a scripting language. It looks at the ideas that originally motivated the JavaScript approach and also at the additions over time that have produced modern JavaScript/ECMAScript. It isn’t a complete introduction to JavaScript and isn’t for the complete beginner to programming. It has been written for those who are familiar with the basic constructs used in any programming language and have already encountered JavaScript.

After reading it, you will have an understanding how and why JavaScript is unique and the way in which you can exploit its strengths.

After a brief overview of its history, we come to the key idea in JavaScript: it is object-based. Everything in JavaScript is an object and three chapters are used to introduce objects before we meet the Function Object. The many different ways of creating a JavaScript function tends to hide the fact that they are indeed all objects with properties and a lifetime that is different from local variables. This is the reason closure is natural. Having explored JavaScript's unique approach to parameters we are ready to consider how functions become methods. After this factory functions and constructors seem obvious as does the prototype chain. The final three chapters tackle the issues that are usually seen as problems for JavaScript and which are now reconciled within the idiomatic approach.

223 pages, Paperback

First published April 29, 2018

4 people want to read

About the author

Ian Elliot

17 books1 follower
Ian is recognized as the advertising industries most successful new business winner. Ian has authored “Stop Bitching, Start Pitching” published by Murdoch Books. It’s the definitive guide to winning big accounts

At just 48 he retired from the advertising industry to focus on his public and private company board responsibilities. He’s been on the boards of several ASX top 200 companies as well as the National Australia Day Council.

Ian is an internationally acclaimed professional keynote speaker and consults to major firms including KPMG, Hills Industries, Village Roadshow and Prime Media.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (100%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Diego.
171 reviews
May 19, 2018
Ian Elliot es parte del equipo de I Programmer, un portal de noticias y artículos acerca de programación, y regularmente ha subido los borradores de los capítulos de este volumen; se podría decir que desde allí comencé a leerlo.
El enfoque de este libro es para los ya iniciados en JavaScript, haciendo énfasis en su gramática. Esto es práctico para conocer cómo funciona el lenguaje y en qué se diferencia de otros, sin detenerse en aquellos puntos que son obvios (los operadores, el control de flujo, etc). Los últimos 3 capítulos son un poco redundantes, aunque presentan una discusión interesante sobre el tipado fuerte y el tipado débil.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.