Build a simple company expense tracker with Typescript

8 classificações
oferecido por
Coursera Project Network
Neste Projeto Guiado, você irá:

Learn how to use variable types

How to create classes and child classes using inheritance

How to specify access modifiers for encapsulation

Clock2 hours
CloudSem necessidade de download
VideoVídeo em tela dividida
Comment DotsInglês
LaptopApenas em desktop

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 você desenvolverá

TypescriptObject-Oriented Programming (OOP)JavaScriptStrong TypingComputer Programming

Aprender passo a passo

Em um vídeo reproduzido em uma tela dividida com a área de trabalho, seu instrutor o orientará sobre esses passos:

  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

Como funcionam os projetos guiados

Sua área de trabalho é um espaço em nuvem, acessado diretamente do navegador, sem necessidade de nenhum download

Em um vídeo de tela dividida, seu instrutor te orientará passo a passo

Perguntas Frequentes – FAQ

Perguntas Frequentes – FAQ

Mais dúvidas? Visite o Central de Ajuda ao Aprendiz.