3 ms·
> Java/.NET > actual typed languages lol, those type systems are garbage comparing to typescript, if you even understand what a type system is, it's not the s
by nsonha 5y ago
> Java/.NET
> actual typed languages
lol, those type systems are garbage comparing to typescript, if you even understand what a type system is, it's not the same as making toy hierarchies in OOP
> Rust compilers and interact with your DOM
> pick the right hoe for the job
More evident of you knowing nothing of what you're talking about. There is a push for Rust to do this kind of thing, but it's far fom the right tool for the job.
Rust's focus is memory safety, not expresiveness (eventhough it can be), so it's never the best tool for the job of making applications, on the DOM or otherwise. You can try to do it but it's best fit for system programming.
The best programming language to make application on the DOM is Java/C#
/s
- crate_barre 5y agoYeah, some intern at Microsoft made the greatest type system ever /sarcasm It’s alright dude, I’m not even hating. Don’t let a type system destroy the style of a language though.
- nsonha 5y agowhat intern? the same guy who created C#?
- crate_barre 5y agoFuck 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.