Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Hazarth95211yI had to check because I thought I'm going crazy
but cpp/java is *not* dynamically typed, it's statically typed.
I'm not sure what you're talking about. Is this a joke I'm not getting? -
@horus literally brought this up in an interview. Which they didnt take well. Safe to say I stopped the process after this interview.
-
@Hazarth dynamically typed crap meant i was was reffering to JS and i said coming from cpp/java(which are strongly typed and static), typescript feels like a boon
-
Learn the merits of JavaScript and stop trying to bend it to being a pretend strongly typed language. It’s not C++, it’s not C#, it’s not Java.
-
Ah. I seem to have misunderstood.
Typescript's only saving grace is typehinting. Which you can do with nodejs anyway nowadays. Typesafety means jack if you have to transpile to js. -
It seems great, until you realise the types are just a poor bolt on that half the ecosystem doesn't even support.
It's better than JS for sure, but doesn't come close to being at the same level as near enough anything else. -
Typescript is just an icing on the cake, it got translated into javascript on the first thing; and it's not totally safe.
I have used many languages throughout my career. Quick Basic, Turbo Pascal, Turbo C++, VB 6, VB.net, C#, Java, PHP, JS, and at last, Flutter/Dart.
When it comes to JS/TS, I pick to stay with TS.
Why force JS into becoming it's not meant to be? It was born as dynamically typed language, just like PHP. Let them live and die as dynamically typed language.
As for excuses that strongly typed language increases developer's productity and reduces bugs, as someone who have used both extensively, I digress.
Bro typescript is sooooooo gooood...
holy shit!
coming from a cpp/java background it feels like a fucking relief to know something like typescript exists and you dont have to blindly trust the dynamically typed crap
rant