Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove TypeScript, for now #178

Merged
merged 5 commits into from
Nov 26, 2020
Merged

Remove TypeScript, for now #178

merged 5 commits into from
Nov 26, 2020

Conversation

Rich-Harris
Copy link
Member

I've become increasingly frustrated with the degree to which TypeScript impedes development velocity in this repo. In my own personal experience it has had a significant net negative impact on productivity — I am spending much more time appeasing the compiler than actually building stuff.

The mental effort we are spending futzing around with TypeScript (which doesn't just mean adding types, but dealing with tsconfig files and addressing the quirks of things like rpt2, etc) would be much more profitably spent writing tests, in my opinion.

I definitely believe in the utility of types when it comes to ensuring a project's continued long term maintainability. But the exploratory phase, when things are changing frequently and designs are speculative and need rapid iteration, is not the time to worry about types in my view — it has the effect of strangling the codebase before it has a chance to take shape.

I realise this proposal will be unpopular with some people! Some context: SvelteKit is being used for a major project at the NYT which will be seen by millions of people. We are trying to get it published soon, which means I'm trying to get it to a state of production-readiness, if only in the case where app developer === framework developer. Right now, I'm being bombarded with status update requests, and 'I'm debugging an inscrutable error from rpt2' is not a satisfying response.

Let's lay off the type stuff for now and focus on functionality.

@Rich-Harris Rich-Harris merged commit 104d962 into master Nov 26, 2020
@Rich-Harris Rich-Harris deleted the liberation branch November 26, 2020 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant