Another open source project abandons the use of TypeScript. Is it turning back the clock on history?

8d3c714d4dab503508c002eb2ee51268.jpeg

Ruby on Rails author DHH announced the removal of TypeScript code from his team's open source project Turbo 8.

55cc737b3bcc4dc83570e89892e594c0.png

d57ba9b22ac8a9921db8a6c5adb5cc35.png

Related issue: https://github.com/hotwired/turbo/pull/971

Hotwire is a modern Web development framework that uses an approach called "HTML Over the Wire" to build efficient, real-time interactive Web applications. The Hotwire framework was developed by Ruby on Rails creator David Heinemeier Hansson (DHH) and the Basecamp team to simplify the web development process, reduce reliance on JavaScript, and improve the performance of web applications.
Turbo is the core component of the Hotwire framework and is responsible for improving the performance of Web applications.

8396bbce793a0c270cd4ccfca737fb43.png

DHH explained the reasons for the decision:

TypeScript is just a blocker for me. Not only because it requires an explicit compilation step, but because it pollutes the code with type programming (the original text uses the term 'Type Gymnastics'), it adds little fun to my development experience and often brings considerable pain. sad.

DHH's decision sparked widespread discussion on Twitter and GitHub. Some people agreed and expressed their appreciation for their courage; some opposed it and said that this was reversing the course of history. What do you think?

By the way, not long ago the well-known front-end UI framework Svelte also announced its switch from TypeScript to JavaScript .

Related links: https://twitter.com/dhh/status/1699427078586716327

Guess you like

Origin blog.csdn.net/Ed7zgeE9X/article/details/132819918