Our great sponsors
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
-
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.
Personally, I love TypeScript. It's my "go-to" language at work, and it's the most useful language to know when it comes to web development since JavaScript has a monopoly on the browser. For server-side programming, Deno is really fun to use.
The use of Javascript/Typescript in the backend is growing in popularity and I love the fact that you can share code between the frontend and backend. I'am currently working with nestjs which is based on NodeJs, and I really like it so far. One thing to note when working with Javascript/Typescript is that the language was initially not designed to support object-orientation. For example, while Typescript does support the definition and implementation of interfaces, those interfaces are only used for type safety and can not be used e.g. in an instanceof check. Another disadvantage of JS/TS in my opinion is the way code is loaded/packaged, here I prefer most other languages which make use of classloaders, packages, namespaces. The type-system of Typescript is very sophisticated and flexible, which supports the type safety of strictly typed languages and the flexibility of non typed languages. When working with web applications, you won't come around learning Javascript at least for the frontend, so implementing your backend in the same language is more intuitive for beginners.
Related posts
- NestJS tip: how to change HTTP server timeouts
- Don't go all-in Clean Architecture: An alternative for NestJS applications
- NestJS is now the most starred Node framework on GitHub
- Supercharge Your Testing Workflow: Creating Unit and E2E Tests 10x Faster with ChatGPT-3 Inside NestJS
- ECMAScript Decorators. The Ones That are Real