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
Building LightOS with React Native.
The Light Phone 2 is a minimalist cellphone that was named one of Time Magazine’s best inventions of...
New
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
Track down the JavaScript code responsible for polluting the global scope.
Here’s how you can debug what JavaScript code is adding globa...
New
Recommendations when publishing a Wasm library.
A set of recommendations to make publishing a Javascript library that uses Wasm internal...
New
Monorepos in JavaScript & TypeScript.
A tutorial how to use a monorepo architecture in frontend JavaScript and TypeScript with tools...
New
The State of WebAssembly 2022.
WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is ...
New
ESLint equivalents in Elm.
Comparing ESLint functionality and the equivalents in the Elm ecosystem
New
Typescipt is terrible for library developers.
We spend a disproportionate amount of time on types
New
How to write your first unit test in JavaScript | Snyk.
Testing code is the first step to making it secure. One of the best ways to do t...
New
Threads and messages with Rust and WebAssembly.
How and why to share threads in WASM workers (and when not to)
New
Other popular topics
Reading something? Working on something? Planning something? Changing jobs even!?
If you’re up for sharing, please let us know what you’...
New
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness.
https://f...
New
You might be thinking we should just ask who’s not using VSCode :joy: however there are some new additions in the space that might give V...
New
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
Create efficient, elegant software tests in pytest, Python's most powerful testing framework.
Brian Okken @brianokken
Edited by Kat...
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
A few weeks ago I started using Warp a terminal written in rust. Though in it’s current state of development there are a few caveats (tab...
New
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
Author Spotlight
Erin Dees
@undees
Welcome to our new author spotlight! We had the pleasure of chatting with Erin Dees, co-author of ...
New
zig/http.zig at 7cf2cbb33ef34c1d211135f56d30fe23b6cacd42 · ziglang/zig.
General-purpose programming language and toolchain for maintaini...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /ruby
- /wasm
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /haskell
- /emacs
- /svelte
- /onivim
- /typescript
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /flutter
- /elm
- /vscode
- /ash
- /html
- /opensuse
- /zig
- /centos
- /deepseek
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /debian
- /nixos
- /agda
- /django
- /kubuntu
- /arch-linux
- /deno
- /nodejs
- /revery
- /ubuntu
- /spring
- /manjaro
- /diversity
- /lua
- /markdown
- /julia
- /c








