Earlier quoted context omitted.
any (concept not keyword) is useful when you NPM install something without types and just do a define module in a local .d.ts. You are implicitly any-ifying that package.
I'm referring to people who get frustrated and use 'any' as an escape. Especially in programs they write themselves. That's just incompetence.
Turbo 8 is dropping TypeScript
41–50 of 88 posts
Re: Turbo 8 is dropping TypeScript
#42they removed prettier in the codebase too, they really don't like formatting or typings in their codes.
No reason to use prettier if you already use eslint. And there is no reason to not use eslint, so…
Re: Turbo 8 is dropping TypeScript
#43Earlier quoted context omitted.
I often wonder if people who have trouble typing things, or have to us the 'any' type, ever really learned how to program.
Probably true. After 30 years of writing code, I guess I just haven't figured it out yet. Thankfully you and Typescript are here to show me how to do it right.
I have seen people with decades of experience who remained stuck doing things the same way they first learned to do them and refusing to adapt.
Re: Turbo 8 is dropping TypeScript
#44https://github.com/hotwired/turbo/pull/971
Some summary:
* forced through without any discussion
* many maintainers raising questions, but no answers
* random changes attached to the PR (formatters, etc)
Wherever you land on types, I think we can agree that this is not an ideal way to make a change to a larger open source project. This has all the hallmarks of an executive decision made on a whim, and forced through at the last minute. Lead maintainers certainly have the right to make big changes on a whim, but giving people some notice before breaking other projects and having good communication is true leadership.
Re: Turbo 8 is dropping TypeScript
#45My least favourite thing about vanilla JS is finding out at runtime that I made a typo. That's an annoying thing that TS completely solves, among many others. I really don't see how you could use TS for any amount of time and wish to revert back. >Things that should be easy become hard, and things that are hard become `any`. No thanks! Denouncing a type system because you refuse to use it correctly seems short sighte…
I often wonder if people who have trouble typing things, or have to us the 'any' type, ever really learned how to program.
Meaning you could create most modern applications (including this very website) without really learning to program...
Fun perspective.
Re: Turbo 8 is dropping TypeScript
#46> very few programmers are typically interested in having their opinion on typing changed. Most programmers find themselves drawn strongly to typing or not quite early in their career, and then spend the rest of it rationalizing The Correct Choice to themselves and others. He's certainly right about this. I can't wrap my head around why anyone wouldn't want types in their program* The types still exist you just didn'…
I actually don't relate to this statement at all. My college courses were filled with Python, Java, and C#. I loved python. I hated C# and Java even more. I learned PHP in my own free time. I then went on and happily cut my teeth on dynamic languages for the next decade. I dabbled occasionally with typed languages, but it wasn't until Typescript was forced upon me by a respected coworker that I was able to recognize…
Re: Turbo 8 is dropping TypeScript
#47Earlier quoted context omitted.
I often wonder if people who have trouble typing things, or have to us the 'any' type, ever really learned how to program.
So the only real way to learn how to program is to learn typed programming? Meaning you could create most modern applications (including this very website) without really learning to program... Fun perspective.
Re: Turbo 8 is dropping TypeScript
#48they removed prettier in the codebase too, they really don't like formatting or typings in their codes.
Re: Turbo 8 is dropping TypeScript
#49Earlier quoted context omitted.
I actually don't relate to this statement at all. My college courses were filled with Python, Java, and C#. I loved python. I hated C# and Java even more. I learned PHP in my own free time. I then went on and happily cut my teeth on dynamic languages for the next decade. I dabbled occasionally with typed languages, but it wasn't until Typescript was forced upon me by a respected coworker that I was able to recognize…
In which way don’t you agree with the statement then?