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_2

2. Code Organization

Steve Fenton
(1)
Basingstoke, UK
 
It is not the language that makes programs appear simple. It is the programmer that makes the language appear simple!
—Robert C Martin
This chapter deals with code organization . The subject deals with namespaces, modules, module loading, and packaging. The paramount concern for this chapter is to help you slice up your program into chunks that are easy to find, maintain, and consume.
There have been a few terminology changes since TypeScript was first made public, so to clarify the terms, here are descriptions of the main elements:
  • A namespace (previously known as an internal module) creates a context ...
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