Beyond TypeScript
Beyond TypeScript
  • 15
  • 11 872
Explore TypeScript's discriminated union from Type, Set and Category Theory points of view
In this video, I want us to look at TypeScript's Discriminated Unions from Type Theory, Set Theory and Category Theory points of view.
Bartosz Milewski's Category Theory for Programmers channel: www.youtube.com/@DrBartosz/videos - an amazing set of lectures on Category Theory.
#typescript #programming
มุมมอง: 37

วีดีโอ

Errors propagation (using Result type) vs exceptions
มุมมอง 1.4Kวันที่ผ่านมา
In this video, I want to answer a common question I get: How do I bubble up an error using the Result type? Let's have a look! The technique is trivial. #typescript #functionalprogramming #errorhandling
One app, two platforms: Elm vs React
มุมมอง 3412 หลายเดือนก่อน
In this video, I want to discuss opinionated vs. unopinionated tools. Let's build a simple real-time app (using #websockets) in #elm and #react and compare the experience. We'll cover #react #elm #websocket #architecture #frontend Chapters: 0:00 Intro 01:01 The setup 02:05 Build the app in React 04:11 Testing the React version 04:21 Build the app in Elm 10:21 Testing both apps 10:44 Breathe out...
Is Elm's syntax really weird?
มุมมอง 812 หลายเดือนก่อน
When people see Elm's syntax for constructing views for the first time, they find it strange. However, there's nothing wrong with it because it's just syntax. Let's explore. #elm
Elm deep dive and why is it so reliable?
มุมมอง 1952 หลายเดือนก่อน
I want to dive deeper into what makes Elm so reliable in this video. #elm #frontend #archtecture #learning
Choosing Elm in 2024?
มุมมอง 3992 หลายเดือนก่อน
I built a simple browser extension and decided to use Elm for this project. Was it worth it? Absolutely! But most importantly, there's so much to learn from it and apply to other mainstream frameworks! #elm #frontend #architecture
Rescript source, episode 7: Modules and Functors
มุมมอง 327ปีที่แล้ว
In this episode, we'll talk about ways to organise and structure the #rescript code. #frontend #rescript #typescript
Error handling in TypeScript. How to avoid exceptions.
มุมมอง 4.9Kปีที่แล้ว
This video was inspired by this one from @ThePrimeTimeagen: th-cam.com/video/YZhwOWvoR3I/w-d-xo.html. Please watch it will the end! In this video, I want to talk about alternatives to #exceptions in #typescript. There are ways to make the #code more #resilient and easier to #maintain by implementing better #error #handling on both #backend and #frontend. Most importantly though, exploring new #...
Rescript course introduction
มุมมอง 631ปีที่แล้ว
In this episode, we'll look at the #rescript website, package listings and the Rescript Association. #rescript #frontend
Rescript course, episode 3: starting a #rescript project using the #npm template
มุมมอง 506ปีที่แล้ว
In this episode, we'll create a new #rescript project using the #npm template. #rescript #frontend #javascript #typescript
Rescript course, intro
มุมมอง 1.2Kปีที่แล้ว
Hi, My name is Ivan, I am a software developer. These days, I primarily use TypeScript to build applications that run in the browser, on the server or on the desktop. But I've always been fascinated by the beauty and power of strictly typed functional languages. Some of the ideas from these languages are slowly being adopted by what are considered mainstream languages, such as JavaScript or Typ...
Rescript course, episode 2: starting a #rescript project from scratch
มุมมอง 711ปีที่แล้ว
In this episode, we'll look at how to start a#rescript project from scratch. This will also give you an idea of how to add Rescript to an existing #javascript or #typescript project. #rescript #frontend #javascript #typescript
Rescript course, episode 4: type system overview, control structures, algebraic data types
มุมมอง 531ปีที่แล้ว
In this episode, we'll take a closer look at the #rescript type system, control structures, how they differ from #typescript and learn about algebraic data types. #rescript #frontend
Rescript course, episode 6: modelling an app as a state machine
มุมมอง 240ปีที่แล้ว
In this video, we will use the previous example to explore building a state machine in Rescript, and how it works with the Reducer pattern. #rescript #frontend #statemanagement
Rescript course, episode 5: fetching and parsing JSON, safety
มุมมอง 491ปีที่แล้ว
In this episode, we're going to #fetch some data from an end-point and make sure we can handle unexpected responses gracefully. #rescript #frontend