Next modules, Microsoft are not phycic, Typescript docs actively discourage the use of namespaces, it is also very hard to deprecate something that legacy systems may rely on.
I could go on but I don't think I will get through (assuming your not trolling), your post may be illinformed.
Edit: based on the comment bellow I should probably read the whole damn post.
Edit edit, thank god this is a joke, I have never met anyone complain about typescript mostly because the only people I know who talk about it have used it, mostly everyone else is at-least curious. I don't think this post will help the junior developer to be honest and could be really damaging. You should try as many languages (supersets) as you can, understand want sucks and the wtf's.
There are several articles out there pointing right at the core of the post. So, the argument is actually an extrapolation of true thoughts. :P.
I was like... Hmm bring it 🥊🔔. I should not drunk comment 🤣, I even made a rage post inspired by my annoyance. Sorry Micheal 😆
This was the post I write inspired by my annoyance. Glad you like it.
Typescript produce .js and .mal
You can use Chrome debugger reading that without any problem.
The factorial function you have posted is a lie, because you could set tsconfig.jsom to allow implicit any.
Angular? Nodejs and React (.tsx) can use typescript too
This post is Garbage
Why did you stop reading?
If you have to say that it’s satire, then it’s not good satire. The article is more damaging than helpful. If you like TypeScript then I can’t see why you would want to write an article like this that TS-dissenters will likely be reblogging to further their cause. This is due to the fact that most of the people who don’t like TypeScript haven’t actually tried it. And this article just proves their confirmation biases. Instead we should be clarifying why TypeScript makes many of us so happy.
Yes. That's the intention. People should learn to use something before they have an opinion on it. But most of the time they don't. They just read the title an make assumptions.
PS: if you another comments, there are plenty of hints about this being a satire post. You could also open the links for a few more. :P.
You're not getting it, if you want to write a good article about TypeScript, then just do so and be straight forward, instead of trying to "teach your readers a lesson about life" (and badly so), nobody wants to play your games and sit there in confusion trying to understand if you're being serious or not while reading your garbage of an article.
Be straight forward, people will appreciate you more...
The examples are wrong.
Just Angular: lie
Not compiling .js: LIE!!
Do you always stop reading at the middle of the article?
Yes... But you could do a mocking post putting better things!
Arguments are real through. It wouldn't be funny if the arguments wasn't. For me at least.
With satire the reader knows what they are getting into. They are supposed to be shown very early on this is a joke.
There is no clear sign post here. You prompt the reader with a very strong word “hate” without then inserting a punch line anywhere.
It’s not funny.
It's a very bad satire to be honest, poorly executed, and is more damaging than helpful.
It took me way too long to understand the actual intent of the article. Well done😂
Oh, another shitpost, why you trolling? -_-
What you didn't like?
What is there to like?
I don't think I can tell you what you can like. But I can learn if you tell me what you didn't like. :)
Disagree all the points.
today's status: "Public and private field declarations are an experimental feature (stage 3) proposed at TC39".
ES2 (1998) defined the reserved words: class, private, public, etc.
TypeScript uses "private" in class was a natural move.(unfortunately, not same as the es2019). But no break changes for TS developers, you don't hear them cry.
Of course you have errors for the factorial function (if using default tsconfig), that's the most important job TS does -- static type-checking.
No comment. ( subjective topic)
Not exactly, most of TypeScript (Object Oriented) features are being added to JS.
People use TS mainly because its static type-checking feature.
Why! I debugged TS in my first TS project.
overlapped in code trans-pile, but different others
Babel transforms JS code (high version to low version)
Babel uses TS (plugin) to transforms TS code
Babel uses Flow to transform Flow code
Yes, Angular is only framework forces application users to use TS syntax;
Subjective. Flow is not standard JS either, it still needs to be transpiled.
Difference Flow vs TS, flow marks inline, but TS marks the extension.
my personal opinion:
cons: learning curve high.
remember: TS is for static syntax type checking.
check this really big team experience sharing
It's satire. (I don't really get it though)
a bad one
I will write property about ts. Hope you like that as well.
I dunno, I figured out it was a joke right at the beginning:
Not sure I've met any JS developer who would write that down seriously!
I don't actually write any TS though so I have no opinions on the rest of the article's quality of humor ¯\_(ツ)_/¯
Yeah, that statement gave it out for me 😁
Yeah... That should give you a hint...
Sneaky! I was about to get angry, but then I read about the creator and it became too obvious :)
That happens when you only read headlines...
My bad. Bio updated.
Smart. Maybe you should update your description where you say you like typescript to follow the same logic :)
Forgot about it! Thanks! :)
The lack of proper type inference (just try Haskell to see a proper strong type system) and the fact that TypeScript is a Microsoft project focused on OOP make sure I'll never want to use that trap of a language.
The fact that they still haven't switched over to babel for transpiling code as the standard tool just shows how bad they really are. Their build tool is far behind babel, new features take forever to get implemented (with a corporation backing the project just to make things even more pathetic). People end up setting up overly complex build systems just to accommodate for TS.
Also, VS Code is an attempt by Microsoft to shove TypeScript down people's throat. They bought a nice editor that had a chance to take off, and turned it into a trap that will force people into using their crappy language.
Also, TS has some runtime stuff that bloats the code it outputs. Wasn't it supposed to be a type checker on top of the language? It sounds like it's trying to do too much.
OK... I won't argue with you about TS, because you probably think the post was for real. But, Microsoft bought VS Code from who exactly?
I've read the full post, and I'm aware that it was supposed to be satire, but some people like me have developed a habit to be careful around Microsoft. There aren't many software companies as bad as they are, just read up on things they've pulled off, and you'll understand why people like me avoid them. Even if they seem to "embrace" "open source" (which I denounce, as I only care about free software), you have to keep in mind their "embrace, extend, extinguish" motto.
I'm worried that their WSL efforts are in fact an attempt to ruin the Linux kernel, which they've just noticed is serious competition to them. Developers with a hint of self respect (these won't be writing C# as well) just don't use it. Some old developers stuck with it out of habit, but it hinders productivity with it's ancient file system and awful I/O performance, not to mention how badly their kernel schedules processes.
IIRC, VS code was based off an editor some other company was working on, and Microsoft bought it out, and turned it into that well known abomination. Of course, it has to have non-free components, telemetry, and it's based on Electron, which I hate developing for even more than using applications written in. I'd prefer to use a proprietary IDE from any other company rather than VS code, especially because of how cluttered it's interface is.
As for TS, I don't think a type checker is really needed in the first place, as some languages are better with type checking, and some aren't. If I were to pick a type checker, I'd go with flow with type annotations in the comments, so I can write fully compatible ECMA-262 code. Also, it seems to handle non-nullable types better, and overall seems to be a much cleaner design.
If TC39 were to propose type hints similar to something like PHP, I'd be all for that proposal. There are more important things to standardize (like safe property access, as patterns, etc.)
Whenever I deal with TS code, it reads like noise to me, where majority of code is pointless type annotations that could be easily inferred. Last time I had to work with it, I used the official playground to translate it to proper ECMA-262, and then cleaned it up to a modern style by hand.
Thank you for reading. But you didn't say anything about what's the editor that Microsoft bought to create VS Code. I really would like to know.
Omg, I am not even sure you are even a programmer, if you were you'd know there are worst things than typescript like go-lang or reasonml or that little language that has errors horrifically done, elm I think it's called.
I am really sure you didn't read the whole thing. :P.
Or maybe I read too much and just proved everyone's point
I did. And the only thing I got from it is that you're bad at writing...
Lay off a bit.
It's totally okay that you didn't enjoy the article or the author's approach, but so many comments in one thread to tell them this is a bit excessive.
And no need for personal insults.
Is this a joke?
Yes but I don't get it either lol
It went on a bit so I didn't read it all.
Used typescript a few years ago. Getting back into it with React Native now.
Yeah I skipped to the end because I was fairly sure. I'm using TypeScript for a project now and it's really neat.
It’s only a PITA to get type definitions for 3rd party js libraries
You have to notice that you will never have the type safety of Java or C#. Those use an entire different method for type safe and they check on run time.
TS will check as far as it can, and would do it only in build time.
I think this is really important.
interesting though, although i like some features of ts. mainly the null or undefined checker. this forces you to code more precise and prevent undefined error, which, as you might know, is by far the most common and ugly to debug kind of js error.
Well played, Michael. I was sharpening up my pitchfork as I was reading this. And then I realised that you got me. Bravo!
The next step we need to make happen is first class TypeScript support in browsers, embed the compiler right into the browser and let us ship TS code.
I would like that as well. But sure TS should enter a standardized process.
touché, my friend, touché...
Lol, I was about to start complaining about this ridiculous post until I read: this is a satiric post.
Just the fact you said Anders Hejlsberg was a bad programmer should be a tip of what you were saying.
Congratulations!, you made me go from anger to laugh in a very short amount of time.
"People only use Typescript because they are used to OO languages"
TypeScript has cool functional features like sum types and discriminated unions whose makes code more expressive and easy to read.
I think that's the section you should read carefully.
Please please please take this article down. Idiots will not read all the way through and not realize this is satire. It's going to make people's lives unnecessarily more difficult.
Or at least put the satire warning at the top not the end.
By petition I'll. But in a couple of days. Let's hope no one confuse this and think is for real.
You can see by the comment about Haskell and buying VSCode that people are already thinking this is real. And those who don’t are still using it as an opportunity to trash TS.
I totally understand what you say, but yeah expect a lot of Trolling back,
new waves of developers seems increasingly deceived by Marketing of new frameworks.
TypeScript types suck overall,
but for people that never really learn strong inferred static types, they do look like an improvement.
If you strip all the strawman stuff maybe it would be a better dialogue. I dunno, it wasn't really funny.
Disclaimer: I don't have an opinion on the topic, I'm not convinced on the benefits of ts and obviously don't think it's evil.
You almost got me there, nice satire :D
Nice sarcasm 😀 actually enjoyed reading this xD might skipped here and there though 😆
Thank God I read this to the end 😂😂😂
Man I already was ready to shout out in agony and had my hands formed to fists to hit my table haha. Good one, you got me
Had me at the first half, not gonna lie xD
Your article gave me a good laugh 😂
But you forgot the #jokes tag.
Not many valid points in the article. Conflicting syntax against ES6+ is probably the only one.
Yet, they used them.
Ha-ha, well done, @michael
! Happy I staid put and read till the end. But not many people do!
Sorry, bad joke. Not even funny...
Sorry you didn't like. Maybe you'll like my other posts better. :)
I was very confused if it was a troll article or not... I would I've ordered if it was lol.
Realised this was satire as soon as you mention flow being better 😂
Just signed up, because this title do deserve a thumbs up!
I don't get it. Why would you want to turn dev.to into orange site/twitter/reddit?
How do I downvote this shit?
You don't. Just enjoy it.
I'm trying to learn TS, I didn't understand any of this. They don't declare classes anymore in js, what are you writing I don't get it
This has to be some sort of joke right. Js is steaming mess for anything lager than couple of hundred lines of code. TS answer the many many problems of Js.
It is. He said in the post that it was satire.
I don't think I'm that clever writing.
Obviously you're not.
Thank God I'm not. Maybe that's why you take a moment to comment it. :). Do you want to share how to improve my writing?
Of course, be straight forward and concise without any useless bullshit.
Maybe you can read any of my other post then. I hope you enjoy them better.
I've never seen so much garbage in one article, congratulations.
Thanks! Want to recommend one article of you? I would like to read it.
my profile is public and so is my medium.com account
I know. Just wanted you to recommend one. One that have a better written than mine.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.