<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/typescripttv/best-of/2024" -->

---
title: Best TypeScript.TV posts of 2024 | daily.dev
description: The most upvoted TypeScript.TV posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/typescripttv/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/typescripttv/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best TypeScript.TV posts of 2024 | daily.dev
og:description: The most upvoted TypeScript.TV posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of TypeScript.TV — 2024

1. 1  
[](/posts/use-typescript-generators-for-cleaner-programming-iqye7kf08 "Use TypeScript generators for cleaner programming")  
[![typescripttv's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/57ce30b9764a474caf60a5b81549c1b3)](/sources/[source]/best-of/[year])  
11m read time • May 30, 2024  
### Use TypeScript generators for cleaner programming  
Learn how to use TypeScript generators for cleaner programming by fetching and processing data from APIs more granularly.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e5ec177b4e9c10eb0a250ab26a66f57b?_a=AQAEuiZ)  
219  
10
2. 2  
[](/posts/how-to-write-declarative-typescript-code--hceowvumi "How to write declarative TypeScript Code?")  
[![typescripttv's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/57ce30b9764a474caf60a5b81549c1b3)](/sources/[source]/best-of/[year])  
2m read time • Aug 28, 2024  
### How to write declarative TypeScript Code?  
Declarative programming in TypeScript focuses on defining the desired outcome rather than the specific steps to achieve it. Unlike imperative programming, which details every step and state change, declarative programming relies on abstractions to handle these complexities. An illustrative comparison is made using the example of filtering even numbers from an array, highlighting key differences in control flow, state management, and code focus.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e5ec177b4e9c10eb0a250ab26a66f57b?_a=AQAEuiZ)  
156  
5
3. 3  
[](/posts/understanding-branded-types-in-typescript-npevtm4qy "Understanding Branded Types in TypeScript")  
[![typescripttv's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/57ce30b9764a474caf60a5b81549c1b3)](/sources/[source]/best-of/[year])  
4m read time • Jul 26, 2024  
### Understanding Branded Types in TypeScript  
Branded types in TypeScript, also known as nominal typing, are used to create distinct types that prevent logical errors that type checks might miss. By combining a base type with a unique marker, branded types ensure type safety and avoid unintended consequences, like division by zero. Key concepts include defining branded types, using type guards, and employing assertion functions to enforce these types.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e5ec177b4e9c10eb0a250ab26a66f57b?_a=AQAEuiZ)  
95  
2
4. 4  
[](/posts/save-memory-with-typescript-generators--rcfuza0nd "Save memory with TypeScript generators!")  
[![typescripttv's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/57ce30b9764a474caf60a5b81549c1b3)](/sources/[source]/best-of/[year])  
10m read time • May 20, 2024  
### Save memory with TypeScript generators!  
Learn how to save memory with TypeScript generators, understand the Iterator Protocol, and explore the differences between iterables and enumerables.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e5ec177b4e9c10eb0a250ab26a66f57b?_a=AQAEuiZ)  
55  
3

[See all TypeScript.TV archives](/sources/typescripttv/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/typescripttv/best-of/2024#page","url":"https://daily.dev/sources/typescripttv/best-of/2024","name":"Best TypeScript.TV Posts of 2024","description":"The most upvoted TypeScript.TV posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/typescripttv/best-of/2024#items","numberOfItems":4,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/use-typescript-generators-for-cleaner-programming-iqye7kf08","name":"Use TypeScript generators for cleaner programming"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-to-write-declarative-typescript-code--hceowvumi","name":"How to write declarative TypeScript Code?"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/understanding-branded-types-in-typescript-npevtm4qy","name":"Understanding Branded Types in TypeScript"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/save-memory-with-typescript-generators--rcfuza0nd","name":"Save memory with TypeScript generators!"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"TypeScript.TV","item":"https://daily.dev/sources/typescripttv"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/typescripttv/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

