Your Choice JavaScript News

TypeScript News Friday, March 30 Class, Typescript, Advanced real-world patterns & more…

TypeScript News TLDR / Table of Contents

  • Classes and interfaces are powerful structures that facilitate not just object-oriented programming but also type-checking in TypeScript.
  • The decision to use a class or an interface truly depends on our use case: type-checking only, implementation details (typically via creating a new instance), or even both!
  • And, while a class may define a or a by providing initialisation to its properties and implementation to its methods, an is simply a structural contract that defines what the properties of an object should have as a name and as a type.
  • However, we can refactor again to be a class and then return an instance of : – – We enforce the structure that the argument of takes whilst still being able to create the object that the type as a class defines!
  • The tl:dr; is if you need/wish to create an instance of perhaps a custom object, whilst getting the benefits of type-checking things such as arguments, return types or generics – a class makes sense.

Tags: class, TypeScript, type-checking purposes, interface, comprehensive object-oriented design

  • Take your skills to the next level with this Angular architecture & design oriented workshop.
  • You will learn advanced real-world patterns and techniques for state management In Angular with NGRX, base on real-world challenges.
  • One of the key success factors in on a large scale application, is the ability to share as much code as possible.
  • On this workshop, you will learn how to design and build complexed UI components and directives that can be extended, customised and shared across your applications.
  • We will also learn how to create robust modules and libraries and use them in our applications.

Tags: advanced real-world patterns, Angular architecture, design oriented workshop, expert Nir Kaufman, key success factors

  • Episode 143 of CppCast the only podcast for C++ developers by C++ developers.
  • In this episode Rob and Jason are joined bylafur Waage to discuss the work done at Ubisoft Massive using C++ and Typescript for application development and much more.
  • lafur Waage is a Generalist Programmer at Ubisoft Massive where he works on the Uplay PC client and services.
  • His work focuses mainly on programming with C++ but Python and C# do appear from time to time.
  • In his spare time he plays video games which is not surprising given his job but he also likes puzzles, non fiction audio books and it would be a very strange day if it were not filled with music in some way.

Tags: Uplay PC client, non fiction audio, Ubisoft Massive, Generalist Programmer, Ólafur Waage

Comments are closed, but trackbacks and pingbacks are open.