The Most Addictive Python and SQL Courses
Learn Excel & Financial Modeling the Way Finance Teams Actually Use Them
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the power of TypeScript decorators in this 46-minute conference talk that delves into their practical applications and benefits. Learn how to leverage decorators and decorator factories to encapsulate orthogonal concepts like logging, analytics, caching, operation progress, and timeouts in a clean, non-obtrusive manner. Discover the similarities between decorators and higher-order functions, and gain insights into their implementation through examples such as memoization and timeout handling. Understand how decorators can help manage repetitive errors and improve error handling with loaders, ultimately enhancing your TypeScript development skills and code organization.
Syllabus
Introduction
Power of Composition
FN arcs
Decorators
Memoized example
Decorators explanation
Timeout decorators
Example
Repetitive Errors
Errors with Loader
Error Example
Taught by
NDC Conferences