|
You are here |
sitr.us | ||
| | | | |
typescript-eslint.io
Disallow using confusing built-in primitive class wrappers. |
|
| | | | | ||
| | | | |
blog.michal.pawlik.dev
TL;DR Today I learned how to mimic Scala-like value class in Typescript Doing day to day scala I often use value classes to model the data like: final case class UserId(value: String) extends AnyVal final case class City(value: String) extends AnyVal This is especially useful when you want to add some meaning to primitive types. It also makes the compiler help you to avoid passing irrelevant data to downstream methods. |
|
| | | | | ||
| | | | |
andreasimonecosta.dev
Let's try to clarify, once and for all, the true essence of type parameters. |
|
| | | | | ||
| | | | |
nelari.us
A small look at some useful template techniques, in the context of trying to bind functions to a virtual machine. I wrote this post mostly for myself so that these techniques would be listed all in one place. |
|
| | | |||