4 ms·
Fuck it, I don’t know who made it. Shit sucks in excess, just use a little bit. The OP is using it like it’s ketchup on old McDonald’s fries. I get it, JS sucks
by crate_barre 5y ago
Fuck it, I don’t know who made it. Shit sucks in excess, just use a little bit. The OP is using it like it’s ketchup on old McDonald’s fries. I get it, JS sucks, but your crappy JS sucks even more with drenched awful Typescript ketchup that looks like unreadable gibberish.
Nothing makes me lol more than?.a?.conditional? null check in a ‘type safe’ language. Just stop it, use C# Blazor to write your Frontends and call it a day. JS is not (your) tool for the job (because oh god, what if you don’t know a param is a string, lord have mercy, how did the web even make it this far without this type safety brilliance?).
Enough.
- nsonha 5y agothat's hot garbage, you don't like JS and TS that's fine, but the only 2 types of people who think TS is worse than JS are: 1. Veteran JS devs who don't want to learn, which I don't think you are. 2. People who've never had to work on a crappy language (JS) at large scale in which development tools are blind folded in providing static analysis. > Nothing makes me lol more than?.a?.conditional? null check in a ‘type safe’ language. Just stop it, use C# And get null pointer exception? No one forces you to be stringent on typescript, use a nullable type if you want, but saying TS is crap because it's actually better than C# at static analysis?
- crate_barre 5y agoAll I want is that you guys take it easy on the Typescript. Keep the JavaScript recognizable, that’s all. We’re all friends, right?
- theobr 5y agoThe solution I recommend (tRPC) allows you to write no typedefs whatsoever lol
- stillblue 5y agoI think the whole point is to make it unrecognizable enough so it looks like a real typed language.
- nsonha 5y agothat's not the point at all, the fact that ts looks unfamiliar to js dev is unfortunate, but the point is not to make a familiar language either. It is simply to have some tooling support and don't feel like a moron caching all the spaghetti in your brain while coding js.