Our great sponsors
-
immutable-js
Immutable persistent data collections for Javascript which increase efficiency and simplicity.
-
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.
Immutability. In concurrent programming, immutable is an important concept. Making sure that a value won't be mutated by another concurrent routine can save my sanity, even on a single-threaded runtime like V8. Golang provides no standard way to control immutability. It doesn't even have a readonly limitation like const in C. If you want to build your own immutable data structure, the infamous Golang's weakness of lacking generics makes it hard to do. In TypeScript, unexpected mutation can be prevented by using readonly at compile time. You can also use Object.freeze to ensure immutable at runtime. Finally, you can use a powerful immutable data structure library: immutable.js.