Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
And was recently looking through this codebase https://github.com/tinyplex/tinybase and realized there is not a single class keyword used.
Seems that Typescript allows an escape hatch, but JavaScript's private #fields enforces "hard private".
The approach of checked errors is making a comeback. See Swift, Rust, Kotlin + Arrow.kt, and several takes on it in TypeScript: purify, fp-ts, etc.
If you're curious to know what a class-heavy JavaScript codebase looks like, look no further than the Visual Studio Code source code. Almost everything is a class. Some of the classes make sense, but a lot of them just scream "I am a C# developer who was forced to use JavaScript."
Related posts
- Learn how to unleash the full potential of the type system of TypeScript
- Adding the Material UI CSS framework to an React application
- Theming using CSS Variables? Turn Them into VS Code Snippets for Faster, Error-Free Coding
- Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
- 5 Alternatives to Redux for React State Management