![]() AWS has AWS Lambda, Azure has Azure Functions and Google has Cloud Functions. You don’t have to worry about the underlying infrastructure at all, just the code you write and it’s dependencies.Įach of the three big cloud providers has their own FaaS offering. ![]() You can run your code (functions) in the cloud without having to know what VM or hardware the code is run on. TypeScript with FaaS offeringsįaaS or Functions as a Service is the compute part of serverless. And just like in regular Node.js, TypeScript can provide you with some real benefits. Just like with regular JavaScript code, you can also use TypeScript instead of JavaScript with serverless. ![]() It would be nice though if you could somehow balance moving fast and still making sure things work correctly and the code is easy to maintain. With serverless and JavaScript you can move fast and create new things. So maintainability and readability of the code become a real concern. However, most of the time the trick is not how fast you can write new code, but how easily you can change the old code. JavaScript is a lot like serverless in the way that it tries to make writing software as frictionless as possible. Part 4: Serverless TypeScript Bring the Types Back to Serverless Part 3: Types Are Not Tests and Tests Are Not Types Part 2: Bringing the Types Back to the Back Part 1: I’d Like Some Type in My Script Instead of Java, Please! This is the fourth and final part of the series. ![]() TypeScript is taking the web and JavaScript development world by storm and it has some interesting implications on how we do things. This post is a part of a larger TypeScript in the Back series. There are probably a lot of reasons for it, but I would guess that the popularity of JavaScript in serverless is due to some of their similarities: Both focus on fast time-to-market and both are particularly popular amongst frontend developers. You don’t have to worry about the infrastructure, just worry about your code.Īt the same time JavaScript or more precisely Node.js has become one of the most popular languages for writing serverless applications. With the promise of only paying for what you use and automatic scaling, it sets the bar to a new high. Serverless has become extremely popular amongst the so-called cloud-native technologies. So it makes sense combining the two to make something awesome. I also think Serverless is the best thing that has happened to the backend and TypeScript is the best thing that has happened to Node.js. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |