Programming TypeScript by
Boris Cherny: A Detailed Book Review for JavaScript Developers
Learning how to write JavaScript is an important step
toward becoming a web developer, but maintaining a growing application can
introduce new challenges. As projects become larger, developers need ways to
organize their code, identify mistakes, and make their applications easier to
maintain. This is where TypeScript can be especially useful.
Programming TypeScript: Making Your JavaScript
Applications Scale by Boris Cherny is a technical programming book
designed to help developers understand TypeScript and apply its features to
real software projects. Published by O’Reilly Media in 2019, the book explores
the language’s type system, functions, classes, asynchronous programming, and
integration with JavaScript applications.
In this review, we will examine the book's main topics,
its potential benefits, its limitations, and the types of readers who may find
it useful.
What Is Programming TypeScript About?
The central focus of Programming TypeScript is
learning how to use TypeScript to write more predictable and maintainable
JavaScript applications.
TypeScript builds on JavaScript by introducing a static
type system. This allows developers to describe the kinds of values their
programs expect and helps identify many programming mistakes before the code
runs.
Boris Cherny explains the concepts behind TypeScript and
how they can be applied when developing larger applications. Rather than
focusing exclusively on basic coding exercises, the book also explores concepts
that become important when working with more complex software.
The material covers foundational language features and
more advanced subjects, making the book particularly relevant to readers who
already have some JavaScript programming experience.
CLICK HERE TO ORDER THE BOOK ON AMAZON
Key Topics Covered in the Book
1. Understanding TypeScript Fundamentals
One of the important starting points is understanding how
TypeScript differs from JavaScript. Readers learn about the compiler, the type
system, development tools, and project configuration.
These concepts help developers understand how TypeScript
code is checked and converted into JavaScript for execution.
For readers who have used JavaScript for a while but have
not explored TypeScript in depth, this foundation can provide a clearer
understanding of the language's purpose and capabilities.
2. Types and Type Operators
Types are a major part of the book. The author explores
common types, objects, arrays, tuples, type aliases, union types, intersection
types, and other features.
Understanding these concepts helps developers describe the
data their applications work with more precisely.
For example, a developer creating a shopping application
might define a product with a name, price, and availability status. TypeScript
can help identify situations where the code uses these values incorrectly.
The book also explores more advanced type-related
concepts, which can help readers develop a deeper understanding of how
TypeScript represents and checks data.
3. Functions and Generics
Functions are essential to almost every programming
project, and TypeScript provides ways to specify the types of function
parameters and return values.
The book discusses function declarations, optional
parameters, default parameters, overloaded functions, and generics.
Generics are particularly useful when developers want to
create reusable functions or components that work with different data types
without losing useful type information.
These lessons can help readers write code that is more
flexible while remaining easier to understand and maintain.
4. Classes, Interfaces, and Object-Oriented Programming
Another important area is object-oriented programming with
TypeScript.
Readers explore classes, interfaces, inheritance, abstract
classes, polymorphism, mixins, and design patterns.
These concepts are useful when building applications with
multiple components that need to work together. Interfaces, for example, can
describe the structure an object should follow, helping developers maintain
consistency across different parts of a project.
This section can be especially valuable for programmers
who want to understand how TypeScript supports structured application design.
5. Advanced Types
The book moves beyond basic type annotations to examine
more sophisticated features of TypeScript's type system.
These topics can help developers express complicated
relationships between data and create safer reusable abstractions.
Although advanced types may take time to understand,
learning them can make it easier to read unfamiliar TypeScript code and design
better solutions for complex programming problems.
Readers should be prepared to practise the examples rather
than simply read the explanations.
6. Asynchronous Programming
Modern JavaScript applications frequently perform
operations that take time, such as requesting information from a server or
reading data from an external service.
The book examines asynchronous programming concepts,
including callbacks, promises, async and await, and event-driven techniques.
Understanding these concepts can help developers manage
operations that do not complete immediately and structure their code more
effectively.
The material is relevant to developers working on
browser-based applications and server-side JavaScript projects.
7. Frontend and Backend Development
TypeScript can be used in both frontend and backend
development. The book discusses its relationship with development frameworks
and application programming interfaces.
Readers can learn how TypeScript fits into broader
JavaScript development workflows and how type information can support
communication between different parts of an application.
However, the framework examples reflect the technology
landscape at the time the book was published. Readers using modern frameworks
should supplement these sections with current official documentation.
8. Working With Existing JavaScript Projects
Not every developer starts a project from scratch. Many
programmers need to improve or maintain applications that already contain
substantial amounts of JavaScript.
The book explores how TypeScript can work alongside
JavaScript and discusses topics related to declarations, modules, and
integrating existing code.
This is useful for developers interested in gradually
introducing TypeScript into an established project instead of rewriting an
entire application at once.
What Makes This Book Useful?
One of the book's main strengths is its emphasis on
understanding the language rather than memorizing isolated syntax rules.
TypeScript offers many features, and knowing how they work
together is important for writing reliable code. The book gives readers an
opportunity to develop that understanding through explanations and practical
examples.
Another strength is its coverage of both foundational and
advanced topics. Readers can move from basic types and functions to more
demanding subjects such as generics, asynchronous programming, and application
architecture.
The book can also serve as a reference for developers who
need to revisit a particular concept while working on a project.
For readers who prefer learning through experimentation,
working through the examples and exercises can make the material more valuable
than reading it passively.
CLICK HERE TO ORDER THE BOOK ON AMAZON
Potential Limitations
Although Programming TypeScript has useful material, it may not
be the ideal choice for every reader.
First, the book is not designed as a complete introduction
to programming for someone who has never written code. A reasonable
understanding of JavaScript is important for following the explanations
comfortably.
Second, TypeScript continues to evolve. Because the book
was published in 2019, some tools, framework examples, and development
practices may differ from those used in current projects.
Readers should consult up-to-date TypeScript documentation
when they encounter differences between the book and their development
environment.
Finally, some of the advanced concepts require patience
and repeated practice. Readers looking for a quick introduction with only a few
simple examples may find the technical depth challenging.
These limitations do not remove the book's educational
value, but they are worth considering before choosing it.
Who Should Read Programming TypeScript?
This book may be a good choice for:
· JavaScript developers who want to learn TypeScript.
· Web developers interested in writing more maintainable
applications.
· Programmers who want to understand static typing and type
inference.
· Developers who work with larger codebases.
· Software engineering students who already understand JavaScript
fundamentals.
· Programmers who want to improve their knowledge of generics,
interfaces, and advanced types.
· Developers maintaining existing JavaScript applications and
considering a gradual TypeScript migration.
Complete beginners may benefit from learning basic
JavaScript first. Once they understand variables, functions, objects, arrays,
and common programming patterns, they will be better prepared to study
TypeScript.
Is Programming TypeScript Suitable for Beginners?
The answer depends on what kind of beginner you are.
If you already know basic JavaScript and want to move
toward more advanced development, this book can be a useful learning resource.
Its explanations can help you understand how TypeScript works and why
developers use its type system.
However, if you are learning programming for the first
time, you may find the material difficult because it assumes familiarity with
JavaScript concepts.
A practical approach is to learn JavaScript fundamentals
first, work through the book gradually, and practise each concept in a small
project.
Is Programming TypeScript Still Worth Reading?
Although the book was published in 2019, many of its
central subjects remain relevant to understanding TypeScript, including types,
functions, generics, interfaces, and asynchronous programming.
These concepts provide a foundation for working with
TypeScript in modern development environments.
Nevertheless, readers should not treat every tool
recommendation or framework example as a current instruction. Combining the
book with the latest official TypeScript documentation will help bridge the gap
between its original publication date and today's development practices.
For readers who want a deeper understanding of the
language rather than a short introductory tutorial, the book can still be worth
considering.
Final Verdict: Should You Read Programming TypeScript by
Boris Cherny?
Programming TypeScript: Making Your JavaScript
Applications Scale is a useful technical book for JavaScript developers
who want to understand TypeScript beyond basic syntax.
Its coverage of types, functions, generics,
object-oriented programming, asynchronous operations, and application
development makes it a valuable candidate for a programming book collection.
Its main advantages are its technical depth, broad
coverage, and focus on concepts that help developers reason about their code.
Its main drawbacks are the JavaScript knowledge required and the age of some
framework-specific material.
Overall, I would recommend considering this book if you
already know JavaScript and want to develop stronger TypeScript skills.
Beginners should first build a foundation in JavaScript, while experienced
developers can use the book to strengthen their understanding of TypeScript's
type system.
Before purchasing, check the available edition and format
to ensure that it meets your learning needs.
Frequently Asked Questions
What is Programming TypeScript by Boris Cherny about?
It explains how to use TypeScript to develop and maintain
JavaScript applications, covering types, functions, classes, generics,
asynchronous programming, and other language features.
Do I need to know JavaScript before reading this book?
Yes. A basic to intermediate understanding of JavaScript
will make the material easier to follow.
Does the book cover advanced TypeScript?
Yes. It explores advanced topics in addition to the
fundamentals, including generics, sophisticated type features, and asynchronous
programming.
Can this book help with web development?
Yes. The concepts are relevant to developers building
frontend and backend applications with JavaScript and TypeScript, although
current framework documentation may be needed for newer tools.
Is this book suitable for someone learning programming
from scratch?
It is not the best first programming book. Learning
JavaScript fundamentals before studying TypeScript is a more practical
approach.
Is the book useful for experienced JavaScript developers?
It can be. Developers who want a deeper understanding of
TypeScript's type system and ways to manage larger codebases may find it
particularly helpful.
Conclusion
Choosing the right programming book can make it easier to
develop new skills and understand unfamiliar technologies. Boris Cherny's Programming
TypeScript offers a detailed look at the language features
that help JavaScript developers build more structured and maintainable
applications.
If TypeScript is the next step in your programming
journey, this book is worth exploring alongside hands-on coding practice and
current documentation.
CLICK HERE TO ORDER THE BOOK ON AMAZON
Amazon Affiliate Disclosure
EbookDesk is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for websites to earn advertising fees by advertising and linking to Amazon.com. This means we may earn a small commission when you purchase products through our links — at no extra cost to you. These commissions help us keep the blog running and continue providing helpful skincare content.
We only feature products that are popular, highly rated, or worth considering based on research.

0 Comments