YoVDO

How JavaScript and TypeScript Is Heavily Influenced by Pascal

Offered By: Chris Hay via YouTube

Tags

Javascript Courses Typescript Courses Type System Courses

Course Description

Overview

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

Related Courses

Programming Languages
University of Virginia via Udacity
Building a Basic Website
University of Massachusetts Amherst via Independent
iDESWEB, Introducción al desarrollo web
Miríadax
Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity
Web Application Architectures
University of New Mexico via Coursera