TypeScript was created by Anders Hejlsberg, a Danish software engineer, in 2012. He formerly created C# around the year 2000. He is also known for Turbo Pascal and Delphi, both extraordinary products in their time. Deservedly he is a Microsoft Technical Fellow (a list of whom appear here).
Friday, 24 April 2026
Types in TypeScript
- boolean
- number (which represents integers and floating points)
- string
- BigInt (ES2020+) to represent whole numbers larger than 2^53 -1, and
- symbol to create unique identifiers
Installing a Transpiler
Dawn of the Transpiler
The term "transpiler" (referring to a source-to-source translation tool, or "translating compiler") gained popularity around 2013 with the proliferation of translators from TypeScript and other abstractions (CoffeeScript, Dart) into JavaScript.
JavaScript at the time was becoming a "universal runtime".
Babel is a popular transpiler. tsc is the official transpiler. It can be installed via npm.
Saturday, 4 April 2026
TypeScript in CodePen
Thursday, 2 April 2026
Inside the Claude Code CLI
Tuesday, 17 March 2026
TypeScript for Java and C# Programmers
There is a good tutorial here and also a basic (W3schools) one here.
An important point to note is that while TypeScript adds static typing to JavaScript, the underlying runtime is the same as JavaScript.
Recall that with static typing, the type of every variable and expression is checked before the program runs. This enables errors to be caught at compile-time rather than run-time (in dynamic typing, by contrast, types are enforced only when code executes).
TypeScript is not a "mandatory" OOP language, in the same way as Java or C# (wherein the class is the basic unit of code organization - all data and behaviour is contained in a class). In JavaScript, and by extension TypeScript, this constraint is not present. Functions can live anywhere. Avoiding OOP hierarchies where possible tends to be the preferred programming model.
In the spirit of not mandating classes for general programming, static classes are unnecessary in JavaScript. Singletons are also generally not used.
Friday, 12 September 2025
Microsoft Semantic Kernel
Microsoft Semantic Kernel is a "lighweight, open-source development kit" to build AI agents and integrate models into C#, Python and Java code.
When you load up SK into a fresh Visual Studio Code (no extensions) it will prompt to install recommended extensions. These will include:
- ESLint - integrates ESLint JavaScript into VS Code (for static analysis)
- Prettier - integrates Prettier, the opinionated code formatter (for JavaScript, TypeScript and other webby stuff)
- Azure Functions - to quickly manage serverless apps directly from VS Code
- vscode-pdf - to display pdf files in VSCode (required to open PDF code maps for .NET and Python)
Tuesday, 22 March 2022
Visual Studio Code for JavaScript Development
Visual Studio Code is a great way to keep up with your JavaScript development. Support for JavaScript, TypeScript and Node.js are built-in (with IntelliSense activated for JavaScript and TypeScript). In addition to Windows VS Code is available for macOS and Linux.
There are also a bunch of extensions for other languages. Python (Pylance) is available, and Jupyter notebooks.
The VS Code ESLint extension is very interesting too. This enables the ESLint static analyzer in VS Code.
In terms of source code management, Git support is built-in, with other SCM platforms accessible via extensions i.e. there are specific extensions for SVN, Mercurial and Perforce.