CommunityNews

CommunityNews

Misusing TypeScript Assertion Functions for Fun and Profit

Misusing TypeScript Assertion Functions for Fun and Profit — Sympolymathesy, by Chris Krycho.
TypeScript’s assertions functions (asserts) can be mis-used to good effect when modeling unfortunate mutation-driven APIs. But “misuse” is the right word.

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Popular Frontend topics Top

First poster: bot
Wasmino = WASM + Arduino (Running Arduino code in browser). Wasmino Running the “Fade” example Wasmino is an Arduino core fully compatib...
New
First poster: bot
At Hasura, we wanted to introduce a statically typed frontend language for quite some time now. We discussed which one we should choose a...
New
First poster: bot
Fixing a performance problem in Elm using Html.Lazy. How you can increase the performance of your Elm application using Html.Lazy, and w...
New
First poster: bot
TinyBase. A tiny, reactive JavaScript library for structured state and tabular data.
New
CommunityNews
See them here: This thread was posted by one of our members via one of our news source trackers.
New
First poster: bot
WebAssembly in my Browser Desktop Environment. For over a year now I’ve been working on daedalOS, my desktop environment in the browser....
New
First poster: bot
The State of WebAssembly 2022. WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is ...
New
First poster: bot
Learning HTML was too hard so I made a compiler instead. This is the 10-year story of how I struggled to learn how to code.
New
First poster: bot
TypeScript Typelevel Tic-Tac-Toe: Overkill edition!. A fully functioning, dynamically sized, Tic Tac Toe Game with a UI, all on the type...
New
New

Other popular topics Top

AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
PragmaticBookshelf
A PragProg Hero’s Journey with Brian P. Hogan @bphogan Have you ever worried that your only legacy will be in the form of legacy...
New
AstonJ
Curious to know which languages and frameworks you’re all thinking about learning next :upside_down_face: Perhaps if there’s enough peop...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
Exadra37
I am asking for any distro that only has the bare-bones to be able to get a shell in the server and then just install the packages as we ...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
PragmaticBookshelf
Author Spotlight James Stanier @jstanier James Stanier, author of Effective Remote Work , discusses how to rethink the office as we e...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New
AstonJ
This is cool! DEEPSEEK-V3 ON M4 MAC: BLAZING FAST INFERENCE ON APPLE SILICON We just witnessed something incredible: the largest open-s...
New