Build a simple company expense tracker with Typescript

9 calificaciones
ofrecido por
Coursera Project Network
En este Proyecto guiado, tú:

Learn how to use variable types

How to create classes and child classes using inheritance

How to specify access modifiers for encapsulation

Clock2 hours
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this Guided Project you will create a simple company expense tracker using Typescript. Along the way, you will learn what Typescript is and the benefit of using variable and argument types, object oriented programming and the usage of public/private/protected access modifiers. One of the advantages of the Javascript language, that contributed to make it popular, is the fact that it's a weakly and dynamically typed language. This means that it's more flexible and easy to use when starting programming with it. There is no need to care and specify the type of each variable or argument in a function, and, together with implicit casting, it's very forgiving when it comes to programming errors. However, this is also one of its major drawbacks. Especially when dealing with bigger and complex projects, this makes debugging much more difficult, since a lot of issues can only be caught at runtime, instead of compile time: arguments that function don't expect, incorrect return types and incompatible values between variables being some of those. Typescript, an open source programming language created by Microsoft, is an extension to the Javascript language that wants to bridge this gap, among others, such as the possibility to use objects instead of prototypes. Being an extension, it's possible to mix and enrich existing Javascript programs with its features, reusing existing knowledge and skills, hence making the transition easier than other languages such as Coffescript or Dart. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

TypescriptObject-Oriented Programming (OOP)JavaScriptStrong TypingComputer Programming

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Learn how to create and compile a Typescript file

  2. Understand how variable types work

  3. Create the parent Person class and use class/static variables

  4. Use private and public access modifiers

  5. Create the Staff child class and use the protected access modifier

  6. Create the Client child class and use optional method arguments

  7. Create the Company class while using the Array type

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.