A proper type system should be like the bumpers in a bowling alley, where you know the ball will at least stay on the track. Typescript is more like the ball launching ramp, where you probably won’t yeet the ball straight into the gutter but it can still certainly end up there.
I agree TS is just not a good idea to start with, but it might at least be respectable if it actually had runtime enforcement. Maybe then node wouldn’t be as horrible, though you’re always better off with a real backend language anyhow.
A proper type system should be like the bumpers in a bowling alley, where you know the ball will at least stay on the track. Typescript is more like the ball launching ramp, where you probably won’t yeet the ball straight into the gutter but it can still certainly end up there.
I agree TS is just not a good idea to start with, but it might at least be respectable if it actually had runtime enforcement. Maybe then node wouldn’t be as horrible, though you’re always better off with a real backend language anyhow.