3 ms·
I suggest you give TypeScript a try. You might like it, you might not, but at least then you'll know. It uses gradual typing - you can use static types as littl
by peterkelly 8y ago
I suggest you give TypeScript a try. You might like it, you might not, but at least then you'll know. It uses gradual typing - you can use static types as little or as much as you like. It's not C#.
- marcus_holmes 8y agoI'm writing the backend in Go, so static typing is not where the resistance is coming from ;) It's more like separation of concerns. I want Postgres to take care of data integrity. I want Go to take care of type safety. I want to give Vue all the flexibility it needs to handle user interaction. I don't really want to care about types in the UI, because Go can sort out whatever it sends to the server. If I have to start writing code in the browser to translate between Go structs and TS classes then that's a step too far imho.
- jbverschoor 8y agoTry it before saying something like that. TS is like swift, and it does not require type declaration. A lot is automatic.