You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "toptobes (via GitHub)" <gi...@apache.org> on 2026/06/01 02:04:47 UTC

Re: [PR] CASSNODEJS-10: Proposal for TypeScript Migration [cassandra-nodejs-driver]

toptobes commented on code in PR #463:
URL: https://github.com/apache/cassandra-nodejs-driver/pull/463#discussion_r3331336727


##########
proposals/TypeScript_Migration.md:
##########
@@ -0,0 +1,175 @@
+# TypeScript Migration Proposal
+
+There are three reasons that make this the right moment for the driver’s TypeScript migration:
+
+1\. Type safety – TypeScript has become the standard for maintaining large Node.js libraries. 
+
+2\. ES Modules – ESM is now the official JavaScript module standard, and the ecosystem has largely settled on it. Supporting it opens the driver to tree-shaking and modern bundler workflows, bringing performance gain.
+
+3\. ES6 classes – The driver's class style is split across ES5 and ES6 conventions. ES5 class is deprecated by Node.js, and is not recognized by modern tools like IDE intellisense.

Review Comment:
   util.inherits is still used nearly 50 times throughout the library so this is still extremely relevant



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org