Skip to Main Content
Pro TypeScript: Application-Scale JavaScript Development
book

Pro TypeScript: Application-Scale JavaScript Development

by Steve Fenton
November 2017
Intermediate to advanced content levelIntermediate to advanced
304 pages
8h 42m
English
Apress
Content preview from Pro TypeScript: Application-Scale JavaScript Development
© Steve Fenton 2018
Steve FentonPro TypeScripthttps://doi.org/10.1007/978-1-4842-3249-1_8

8. Exceptions, Memory, and Performance

Steve Fenton
(1)
Basingstoke, UK
 
The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face of the user. Provided you keep this cardinal rule in mind, you can’t go far wrong.
—Verity Stob
Despite lacking the appeal of language features or runtime environments, understanding exceptions and memory management will help you to write better TypeScript programs. Exceptions in JavaScript and TypeScript may look familiar to programmers who have used C#, Java, PHP, or many other languages, but there are some subtle yet important differences. The topics of exception ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript, Starting from ES6 to ES9

JavaScript Next: Your Complete Guide to the New Features Introduced in JavaScript, Starting from ES6 to ES9

Raju Gandhi
Jump Start MySQL

Jump Start MySQL

Timothy Boronczyk

Publisher Resources

ISBN: 9781484232491Purchase bookPublisher Website