Information on individual educational components (ECTS-Course descriptions) per semester

TypeScript

Degree programme Computer Science - Software and Information Engineering
Subject area Engineering Technology
Type of degree Bachelor
Full-time
Winter Semester 2024
Course unit title TypeScript
Course unit code 024717050611
Language of instruction English
Type of course unit (compulsory, optional) Elective
Teaching hours per week 3
Year of study 2024
Level of the course / module according to the curriculum
Number of ECTS credits allocated 5
Name of lecturer(s) Peter HOFFMANN
Requirements and Prerequisites

The contents of the web applications course in the 3rd semester.

Course content
  • Advantages/Disadvantages of JavaScript
  • General alternatives to JavaScript
  • Introduction to TypeScript and differentiation from JavaScriptSetup, IDE, configuration
  • Type system, union/literal types, objects
  • Functions, arrays
  • Interfaces, classes, generics
  • Type modifier
  • Migration from JavaScript
Learning outcomes

The basic programming language for web applications is JavaScript. However, this programming language has always been criticized, which affects all scripting languages, namely that it is confusing and leads to unclean programming. However, no real alternative to JavaScript has yet been established. This currently seems to be changing with the introduction of TypeScript. A well-structured type system supports structured programming and the development of scalable web applications.

Technical and methodological competence (F/M)

  • Students can set up TypeScript and know the type system. In particular, students can explain the differences between JavaScript and TypeScript and know how to use them.
  • Students learn how to use TypeScript by implementing their own application.
    Social and communicative skills (S/K) and personal skills (S)
  • The students can solve assigned tasks independently and on time (reliability) and communicate and justify the solutions created (expression and demeanor).
  • Students understand other people's solutions and can make constructive suggestions for improvement and deal with feedback (critical ability) as well as reflect on their own abilities and limitations (self-reflective ability).
  • Ability and willingness to acquire new knowledge independently and to learn from successes and failures (learning competence and motivation).
Planned learning activities and teaching methods

Lecture and weekly practical subtasks (seminar form), which together form a front-end application. The final application submitted is evaluated.

Assessment methods and criteria

The final submitted application is evaluated. (100%)

Comment

not applicable

Recommended or required reading
  • Goldberg, Josh (2023). TypeScript – Ein praktischer Einstieg. Typsicheres JavaScript für skalierbare Webanwendungen. O’Reilly. ISBN 978-3-96009-218-6
  • Cherny, Boris (2019). Programmieren in TypeScript - Skalierbare JavaScript-Applikationen entwickeln. O’Reilly. ISBN 978-3-96009-122-6
  • Ackermann, Philip (2021). JavaScript - Das umfassende Handbuch. JavaScript lernen und verstehen. Inkl. objektorientierter und funktionaler Programmierung. Rheinwerk Verlag. ISBN 978-3-8362-8629-9
Mode of delivery (face-to-face, distance learning)

Lecture and weekly practical subtasks (seminar form), which together form a front-end application. The final application submitted is evaluated.