Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Kysely, a type-safe SQL query builder for TypeScript. Parent comment
Typescript: https://www.typescriptlang.org/docs/handbook/literal-types.h...
Scala: https://docs.scala-lang.org/sips/42.type.html
Typescript goes a step further has has things like template literal types: https://www.typescriptlang.org/docs/handbook/2/template-lite...
They are a little bit more than string mappings, and the mapping you do see is all codegen generated from the DB schema.
There are no comments on this comment yet.
Typescript: https://www.typescriptlang.org/docs/handbook/literal-types.h...
Scala: https://docs.scala-lang.org/sips/42.type.html
Typescript goes a step further has has things like template literal types: https://www.typescriptlang.org/docs/handbook/2/template-lite...
They are a little bit more than string mappings, and the mapping you do see is all codegen generated from the DB schema.