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: