It’s creating changes for the sake of creating changes.
It’s creating changes for the sake of creating changes.
I explained a bit more here last time TypeSpec was on here: https://news.ycombinator.com/item?id=39843184
This post has a bit more detail about why "we don't need more standards" might not be the correct take here
(Disclaimer speakeasy is a client but I wasn't directly involved in writing this and just figured it's pretty relevant here)
At work, I build backends for mobile applications. When designing new APIs to be consumed by apps, we want input from the mobile developers. We facilitate this by having an api-specs repo with TSP and using Pull Requests to discuss, track and finally commit on new APIs.
It also allows mobile developers to open PRs with changes they want. The contracts are basically an interface that both sides can discuss and agree on.
import { JSONSchemaType } from 'ajv'
It will bridge the JSON Schema and TypeScript types
We've found this useful too:
import { OpenAPIV3_1 as oa } from 'openapi-types'
export type Schema<T> = JSONSchemaType<T> & oa.SchemaObject
We validate that the type aligns with the schema and load the schema to validate all incoming requests
Also why Google has so many dead products.
This applies here as well. Typescript could go a long way.
But admittedly, writing a grammar, parser and then a whole compiler along with its tooling of a new DSL is fun for sure but does look good on CV as well.
I didn't say anything more than that.