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
10 bad TypeScript habits to break this year.
TypeScript and JavaScript have steadily evolved over the last years, and some of the habits...
New
Extend existing APIs
This project is useful in any environment where Lua code is accepted, with the powerful option of simply declaring a...
New
I had an “oh, duh, of course” moment a few weeks ago that I wanted to share: is WebAssembly the next Kubernetes?
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
Announcing TypeScript 4.6.
Today we’re announcing the availability of TypeScript 4.6. If you’re not yet familiar with TypeScript, it’s a...
New
Recommendations when publishing a Wasm library.
A set of recommendations to make publishing a Javascript library that uses Wasm internal...
New
WebAssembly (wasm) allows code written in languages other than JavaScript to run on browsers. If you haven’t been paying attention, all t...
New
JavaScript Containers.
The majority of server programs are Linux programs. They consist of a file system, some executable files, maybe s...
New
Monorepos in JavaScript & TypeScript.
A tutorial how to use a monorepo architecture in frontend JavaScript and TypeScript with tools...
New
SVGs as Elm Code.
Moving SVGs out of the file system and into regular Elm code can make icons easier to manage, especially if you find y...
New
Other popular topics
Machine learning can be intimidating, with its reliance on math and algorithms that most programmers don't encounter in their regular wor...
New
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
New
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting:
asdf install erlang 23.1.2
Configure failed.
checking ...
New
Tailwind CSS is an exciting new CSS framework that allows you to design your site by composing simple utility classes to create complex e...
New
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
New
New
Jan | Rethink the Computer.
Jan turns your computer into an AI machine by running LLMs locally on your computer. It’s a privacy-focus, l...
New
Get the comprehensive, insider information you need for Rails 8 with the new edition of this award-winning classic.
Sam Ruby @rubys
...
New
Hello,
I’m a beginner in Android development and I’m facing an issue with my project setup. In my build.gradle.kts file, I have the foll...
New
Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /python
- /js
- /rails
- /security
- /go
- /swift
- /vim
- /clojure
- /java
- /emacs
- /haskell
- /svelte
- /typescript
- /onivim
- /kotlin
- /c-plus-plus
- /crystal
- /tailwind
- /react
- /gleam
- /ocaml
- /elm
- /vscode
- /flutter
- /ash
- /html
- /deepseek
- /opensuse
- /zig
- /centos
- /php
- /scala
- /react-native
- /lisp
- /sublime-text
- /textmate
- /nixos
- /debian
- /agda
- /deno
- /django
- /kubuntu
- /arch-linux
- /nodejs
- /ubuntu
- /spring
- /revery
- /manjaro
- /diversity
- /lua
- /julia
- /markdown
- /laravel









