
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

Hi all,
With excitement we’re sharing today that Vue.js is Wikimedia
Foundation’s official choice for adoption as future JavaScript
fr...
New

GitHub - eeue56/derw: An Elm-inspired language that transpiles to TypeScript.
An Elm-inspired language that transpiles to TypeScript - G...
New

TinyBase.
A tiny, reactive JavaScript library for structured state and tabular data.
New

Track down the JavaScript code responsible for polluting the global scope.
Here’s how you can debug what JavaScript code is adding globa...
New

Monorepos in JavaScript & TypeScript.
A tutorial how to use a monorepo architecture in frontend JavaScript and TypeScript with tools...
New

GitHub - astrodon/astrodon: Make Desktop apps with Deno :sauropod:.
Make Desktop apps with Deno :sauropod:. Contribute to astrodon/astro...
New

Introducing Signals – Preact.
Signals are a way of expressing state that ensure apps stay fast regardless of how complex they get. Signa...
New

The new wave of Javascript web frameworks.
Make sense of the proliferation of new Javascript web frameworks. A deep dive into the proble...
New

mod_wasm: run WebAssembly with Apache.
mod_wasm is a new module to run WebAssembly (Wasm) modules in Apache httpd
New

Announcing: Rescript-tea.
Rescript-tea is a Rescript implementation of The Elm Architecture, an MVU (Model-View-Update) pattern for orga...
New
Other popular topics

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

Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face:
https://on...
New

Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
New

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

“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco
Ever wonder how authoring books compares to writing articles?...
New

Seems like a lot of people caught it - just wondered whether any of you did?
As far as I know I didn’t, but it wouldn’t surprise me if I...
New

Crystal recently reached version 1. I had been following it for awhile but never got to really learn it. Most languages I picked up out o...
New

Biggest jackpot ever apparently! :upside_down_face:
I don’t (usually) gamble/play the lottery, but working on a program to predict the...
New

Author Spotlight:
David Bryant Copeland
@davetron5000
We’re so happy to bring you another Author Spotlight, a series where we sit dow...
New

Develop, deploy, and debug BEAM applications using BEAMOps: a new paradigm that focuses on scalability, fault tolerance, and owning each ...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /c-plus-plus
- /kotlin
- /tailwind
- /gleam
- /ocaml
- /react
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /centos
- /php
- /deepseek
- /html
- /zig
- /scala
- /sublime-text
- /textmate
- /debian
- /nixos
- /lisp
- /agda
- /react-native
- /kubuntu
- /arch-linux
- /django
- /ubuntu
- /revery
- /manjaro
- /spring
- /diversity
- /nodejs
- /lua
- /c
- /slackware
- /julia
- /markdown