Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How JavaScript and TypeScript Is Heavily Influenced by Pascal

Chris Hay via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the surprising influence of Pascal on JavaScript and TypeScript in this 50-minute video. Delve into the historical connections between these programming languages, examining features like top-down programming, var declarations, statement separation, and type annotations. Learn how early JavaScript, running on Netscape Navigator 3, incorporated Pascal-inspired elements. Compare and contrast Pascal, JavaScript, and TypeScript through hands-on coding examples, covering topics such as case sensitivity, function declarations, and type systems. Gain insights into language design decisions, compiler behavior, and the evolution of JavaScript features like hoisting. Discover the often-overlooked Pascal heritage in modern web development technologies.

Syllabus

- Introduction
- Brendan Eich and JavaScript's influences
- Working with Netscape Navigator 3
- Creating some JavaScript for Navigator 3
- WriteLn, Write and the DOM
- Top Down Programming JavaScript, Pascal, C, Java
- WriteLn and Write in Pascal
- Statement Separation in Pascal and JavaScript
- Java and C is Statement Terminated
- Java and Statement Termination
- Pascal is Case Insensitive
- JavaScript is Case Sensitive but it's complicated
- JavaScript vs Pascal Functions
- Strong Typing vs Dynamic Typing
- Turning Pascal Functions into JavaScript Functions
- Turning Pascal Functions into TypeScript Functions
- Type Annotations are Pascal
- Type Inference in TypeScript is from Standard ML
- Variables and Var
- Hoisting
- How JavaScript compilers work
- Pascal is a one pass compile
- Early JavaScript hoisting
- With Statements, Type Aliases, Sets are Pascal
- Conclusion

Taught by

Chris Hay

Reviews

Start your review of How JavaScript and TypeScript Is Heavily Influenced by Pascal

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.