Deliver toUnited Arab Emirates
Clean Code in JavaScript: Develop reliable, maintainable, and robust JavaScript

Description:

Get the most out of JavaScript for building web applications through a series of patterns, techniques, and case studies for clean coding

Key Features

  • Write maintainable JS code using internal abstraction, well-written tests, and well-documented code
  • Understand the agents of clean coding like SOLID principles, OOP, and functional programming
  • Explore solutions to tackle common JavaScript challenges in building UIs, managing APIs, and writing states

Book Description

Building robust apps starts with creating clean code. In this book, you'll explore techniques for doing this by learning everything from the basics of JavaScript through to the practices of clean code. You'll write functional, intuitive, and maintainable code while also understanding how your code affects the end user and the wider community.

The book starts with popular clean-coding principles such as SOLID, and the Law of Demeter (LoD), along with highlighting the enemies of writing clean code such as cargo culting and over-management. You'll then delve into JavaScript, understanding the more complex aspects of the language. Next, you'll create meaningful abstractions using design patterns, such as the Class Pattern and the Revealing Module Pattern. You'll explore real-world challenges such as DOM reconciliation, state management, dependency management, and security, both within browser and server environments. Later, you'll cover tooling and testing methodologies and the importance of documenting code. Finally, the book will focus on advocacy and good communication for improving code cleanliness within teams or workplaces, along with covering a case study for clean coding.

By the end of this book, you'll be well-versed with JavaScript and have learned how to create clean abstractions, test them, and communicate about them via documentation.

What you will learn

  • Understand the true purpose of code and the problems it solves for your end-users and colleagues
  • Discover the tenets and enemies of clean code considering the effects of cultural and syntactic conventions
  • Use modern JavaScript syntax and design patterns to craft intuitive abstractions
  • Maintain code quality within your team via wise adoption of tooling and advocating best practices
  • Learn the modern ecosystem of JavaScript and its challenges like DOM reconciliation and state management
  • Express the behavior of your code both within tests and via various forms of documentation

Who this book is for

This book is for anyone who writes JavaScript, professionally or otherwise. As this book does not relate specifically to any particular framework or environment, no prior experience of any JavaScript web framework is required. Some knowledge of programming is assumed to understand the concepts covered in the book more effectively.

Table of Contents

  1. Setting the Scene
  2. The Tenets of Clean Code
  3. The Enemies of Clean Code
  4. SOLID and Other Principles
  5. Naming Things is Hard
  6. Primitive and Built-In Types
  7. Dynamic Typing
  8. Operators
  9. Parts of Syntax and Scope
  10. Control Flow
  11. Design Patterns
  12. Real-World Challenges
  13. The Landscape of Testing
  14. Writing Clean Tests
  15. Tools for Cleaner Code
  16. Documenting Your Code
  17. Other Peoples' Code
  18. Communication & Advocacy
  19. Case Study


Editorial Reviews

About the Author

James Padolsey is a passionate JavaScript and UI engineer with over 12 years' experience. James began his journey into JavaScript as a teenager, teaching himself how to build websites for school and small freelance projects. In the early years, he was a prolific blogger, sharing his unique solutions to common problems in the domains of jQuery, JavaScript, and the DOM. He later contributed to the jQuery library itself and authored a chapter within the jQuery Cookbook published by O'Reilly Media. Over subsequent years, James has been exposed to many unique software projects in his employment at Stripe, Twitter, and Facebook, informing his philosophy on what clean coding truly means in the ever-changing ecosystem of JavaScript.

Reviews:

5.0 out of 5 stars My Favorite Software Engineering Book Ever

N. · August 11, 2020

This book was very important in my JavaScript journey. It teaches concepts that transcend the language of JavaScript (clean code, smart abstractions, architectural patters, working with others, etc.). I would recommend it for anybody novice to pro.I would not, however, recommend this as your very first JavaScript book/course. This book is mostly useful if you already have some JavaScript experience. If you are brand new to JavaScript, I would start with at least one more intro book/course before moving on to this.

5.0 out of 5 stars Should be mandatory read for developers

D. · July 6, 2020

I used to recommend great book "Secrets of the Javascript Ninja" by John Resig and Bear Bibeault as most important book to understand JavaScript for junior developers. This book is just as good and more relevant now that ES6+ and TypeScript are default and popular way to code in JavaScript. I highly recommend it.I'm a very experienced developer and still learned quite a bit I'd either forgot or never thought about. Book will make your code less smelly and worth reading cover to cover.

2.0 out of 5 stars Not very good

A.C. · April 16, 2022

The author is clearly very skilled with JavaScript, however there are numerous places where simple errors are very annoying. The author will say there are 8 ways a Boolean is false and then has a bullet list of 7 items, this type of error occurs in multiple places.The Author will clearly speak to the Law of Demeter and later in the book will violate it in the code examples.I was disappointed by this book.

5.0 out of 5 stars Excellent

H.J. · August 15, 2022

Excellent

An ok intro to clean code concepts

R.K. · September 7, 2020

The book felt a little rushed. It is littered with grammar mistakes, and even the code snippets had syntax errors! I found the chapters very short and lacking in real-world examples; you could easily get more value by skimming the titles and searching the internet for more in-depth, update-to-date, and relevant information (which, honestly, it feels like that's how this book was written, by stitching together information from such searches).For better books and articles on clean code, I'd recommend looking into authors like Martin Fowler, Michael Feathers, and Robert Martin.

Take your time to absorb these concepts!

J. · May 23, 2022

The book is not for the feint-hearted. It makes you think a lot about the ways you write code .. all the way up to thinking about what we're even doing when we are creating software for users (it gets deep). Respecting the users' needs. And seeing fellow programmers as 'users' as well. In a way, tho the book is for JS developers, a tonne of what it covers, especially in the first few chapters, are really applicable to all people who design and create software or web apps.

Well written, clear and accessible

N. · February 13, 2022

The book addresses several issues to raise awareness before, during and after writing the code. Recommended

Clean Code in JavaScript: Develop reliable, maintainable, and robust JavaScript

Product ID: U1789957648
Condition: New

4.6

AED30035

Price includes VAT & Import Duties
Type: Paperback
Availability: In Stock

Quantity:

|

Order today to get by 7-14 business days

This item qualifies for free delivery

Returns & Warranty policies

Imported From: United States

At BOLO, we work hard to ensure the products you receive are new, genuine, and sourced from reputable suppliers.

BOLO is not an authorized or official retailer for most brands, nor are we affiliated with manufacturers unless specifically stated on a product page. Instead, we source verified sellers, authorized distributors or directly from the manufacturer.

Each product undergoes thorough inspection and verification at our consolidation and fulfilment centers to ensure it meets our strict authenticity and quality standards before being shipped and delivered to you.

If you ever have concerns regarding the authenticity of a product purchased from us, please contact Bolo Support. We will review your inquiry promptly and, if necessary, provide documentation verifying authenticity or offer a suitable resolution.

Your trust is our top priority, and we are committed to maintaining transparency and integrity in every transaction.

All product information, images, descriptions, and reviews originate from the manufacturer or from trusted sellers overseas. BOLO is not affiliated with, endorsed by, or an authorized retailer for most brands listed on our website unless stated otherwise.

While we strive to display accurate information, variations in packaging, labeling, instructions, or formulation may occasionally occur due to regional differences or supplier updates. For detailed or manufacturer-specific information, please contact the brand directly or reach out to BOLO Support for assistance.

Unless otherwise stated, all prices displayed on the product page include applicable taxes and import duties.

BOLO operates in accordance with the laws and regulations of United Arab Emirates. Any items found to be restricted or prohibited for sale within the UAE will be cancelled prior to shipment. We take proactive measures to ensure that only products permitted for sale in United Arab Emirates are listed on our website.

All items are shipped by air, and any products classified as “Dangerous Goods (DG)” under IATA regulations will be removed from the order and cancelled.

All orders are processed manually, and we make every effort to process them promptly once confirmed. Products cancelled due to the above reasons will be permanently removed from listings across the website.

Similar suggestions by Bolo

More from this brand

Similar items from “Algorithms”

Clean Code in JavaScript: Develop reliable, maintainable, and robust JavaScript

Product ID: U1789957648
Condition: New

4.6

Clean Code in JavaScript: Develop reliable, maintainable, and robust JavaScript-0
Type: Paperback

AED30035

Price includes VAT & Import Duties
Availability: In Stock

Quantity:

|

Order today to get by 7-14 business days

This item qualifies for free delivery

Returns & Warranty policies

Imported From: United States

At BOLO, we work hard to ensure the products you receive are new, genuine, and sourced from reputable suppliers.

BOLO is not an authorized or official retailer for most brands, nor are we affiliated with manufacturers unless specifically stated on a product page. Instead, we source verified sellers, authorized distributors or directly from the manufacturer.

Each product undergoes thorough inspection and verification at our consolidation and fulfilment centers to ensure it meets our strict authenticity and quality standards before being shipped and delivered to you.

If you ever have concerns regarding the authenticity of a product purchased from us, please contact Bolo Support. We will review your inquiry promptly and, if necessary, provide documentation verifying authenticity or offer a suitable resolution.

Your trust is our top priority, and we are committed to maintaining transparency and integrity in every transaction.

All product information, images, descriptions, and reviews originate from the manufacturer or from trusted sellers overseas. BOLO is not affiliated with, endorsed by, or an authorized retailer for most brands listed on our website unless stated otherwise.

While we strive to display accurate information, variations in packaging, labeling, instructions, or formulation may occasionally occur due to regional differences or supplier updates. For detailed or manufacturer-specific information, please contact the brand directly or reach out to BOLO Support for assistance.

Unless otherwise stated, all prices displayed on the product page include applicable taxes and import duties.

BOLO operates in accordance with the laws and regulations of United Arab Emirates. Any items found to be restricted or prohibited for sale within the UAE will be cancelled prior to shipment. We take proactive measures to ensure that only products permitted for sale in United Arab Emirates are listed on our website.

All items are shipped by air, and any products classified as “Dangerous Goods (DG)” under IATA regulations will be removed from the order and cancelled.

All orders are processed manually, and we make every effort to process them promptly once confirmed. Products cancelled due to the above reasons will be permanently removed from listings across the website.

Description:

Get the most out of JavaScript for building web applications through a series of patterns, techniques, and case studies for clean coding

Key Features

  • Write maintainable JS code using internal abstraction, well-written tests, and well-documented code
  • Understand the agents of clean coding like SOLID principles, OOP, and functional programming
  • Explore solutions to tackle common JavaScript challenges in building UIs, managing APIs, and writing states

Book Description

Building robust apps starts with creating clean code. In this book, you'll explore techniques for doing this by learning everything from the basics of JavaScript through to the practices of clean code. You'll write functional, intuitive, and maintainable code while also understanding how your code affects the end user and the wider community.

The book starts with popular clean-coding principles such as SOLID, and the Law of Demeter (LoD), along with highlighting the enemies of writing clean code such as cargo culting and over-management. You'll then delve into JavaScript, understanding the more complex aspects of the language. Next, you'll create meaningful abstractions using design patterns, such as the Class Pattern and the Revealing Module Pattern. You'll explore real-world challenges such as DOM reconciliation, state management, dependency management, and security, both within browser and server environments. Later, you'll cover tooling and testing methodologies and the importance of documenting code. Finally, the book will focus on advocacy and good communication for improving code cleanliness within teams or workplaces, along with covering a case study for clean coding.

By the end of this book, you'll be well-versed with JavaScript and have learned how to create clean abstractions, test them, and communicate about them via documentation.

What you will learn

  • Understand the true purpose of code and the problems it solves for your end-users and colleagues
  • Discover the tenets and enemies of clean code considering the effects of cultural and syntactic conventions
  • Use modern JavaScript syntax and design patterns to craft intuitive abstractions
  • Maintain code quality within your team via wise adoption of tooling and advocating best practices
  • Learn the modern ecosystem of JavaScript and its challenges like DOM reconciliation and state management
  • Express the behavior of your code both within tests and via various forms of documentation

Who this book is for

This book is for anyone who writes JavaScript, professionally or otherwise. As this book does not relate specifically to any particular framework or environment, no prior experience of any JavaScript web framework is required. Some knowledge of programming is assumed to understand the concepts covered in the book more effectively.

Table of Contents

  1. Setting the Scene
  2. The Tenets of Clean Code
  3. The Enemies of Clean Code
  4. SOLID and Other Principles
  5. Naming Things is Hard
  6. Primitive and Built-In Types
  7. Dynamic Typing
  8. Operators
  9. Parts of Syntax and Scope
  10. Control Flow
  11. Design Patterns
  12. Real-World Challenges
  13. The Landscape of Testing
  14. Writing Clean Tests
  15. Tools for Cleaner Code
  16. Documenting Your Code
  17. Other Peoples' Code
  18. Communication & Advocacy
  19. Case Study


Editorial Reviews

About the Author

James Padolsey is a passionate JavaScript and UI engineer with over 12 years' experience. James began his journey into JavaScript as a teenager, teaching himself how to build websites for school and small freelance projects. In the early years, he was a prolific blogger, sharing his unique solutions to common problems in the domains of jQuery, JavaScript, and the DOM. He later contributed to the jQuery library itself and authored a chapter within the jQuery Cookbook published by O'Reilly Media. Over subsequent years, James has been exposed to many unique software projects in his employment at Stripe, Twitter, and Facebook, informing his philosophy on what clean coding truly means in the ever-changing ecosystem of JavaScript.

Reviews:

5.0 out of 5 stars My Favorite Software Engineering Book Ever

N. · August 11, 2020

This book was very important in my JavaScript journey. It teaches concepts that transcend the language of JavaScript (clean code, smart abstractions, architectural patters, working with others, etc.). I would recommend it for anybody novice to pro.I would not, however, recommend this as your very first JavaScript book/course. This book is mostly useful if you already have some JavaScript experience. If you are brand new to JavaScript, I would start with at least one more intro book/course before moving on to this.

5.0 out of 5 stars Should be mandatory read for developers

D. · July 6, 2020

I used to recommend great book "Secrets of the Javascript Ninja" by John Resig and Bear Bibeault as most important book to understand JavaScript for junior developers. This book is just as good and more relevant now that ES6+ and TypeScript are default and popular way to code in JavaScript. I highly recommend it.I'm a very experienced developer and still learned quite a bit I'd either forgot or never thought about. Book will make your code less smelly and worth reading cover to cover.

2.0 out of 5 stars Not very good

A.C. · April 16, 2022

The author is clearly very skilled with JavaScript, however there are numerous places where simple errors are very annoying. The author will say there are 8 ways a Boolean is false and then has a bullet list of 7 items, this type of error occurs in multiple places.The Author will clearly speak to the Law of Demeter and later in the book will violate it in the code examples.I was disappointed by this book.

5.0 out of 5 stars Excellent

H.J. · August 15, 2022

Excellent

An ok intro to clean code concepts

R.K. · September 7, 2020

The book felt a little rushed. It is littered with grammar mistakes, and even the code snippets had syntax errors! I found the chapters very short and lacking in real-world examples; you could easily get more value by skimming the titles and searching the internet for more in-depth, update-to-date, and relevant information (which, honestly, it feels like that's how this book was written, by stitching together information from such searches).For better books and articles on clean code, I'd recommend looking into authors like Martin Fowler, Michael Feathers, and Robert Martin.

Take your time to absorb these concepts!

J. · May 23, 2022

The book is not for the feint-hearted. It makes you think a lot about the ways you write code .. all the way up to thinking about what we're even doing when we are creating software for users (it gets deep). Respecting the users' needs. And seeing fellow programmers as 'users' as well. In a way, tho the book is for JS developers, a tonne of what it covers, especially in the first few chapters, are really applicable to all people who design and create software or web apps.

Well written, clear and accessible

N. · February 13, 2022

The book addresses several issues to raise awareness before, during and after writing the code. Recommended

Similar suggestions by Bolo

More from this brand

Similar items from “Algorithms”