Modul 288: Programmiertechniken im
Webfrontend einsetzen

Woche 5

Colin Schmid

​colin.schmid@gbchur.ch

Mediamatiker/in EFZ

Überblick

🔭 Wochenrückblick

🎯 Lernziele

🗓️ Termine

 

🛸 Begleitetes Selbststudium: Learn Javascript

🏹 Input: Arrow Functions

 

📔 Lernjournal

🎙️ Schlussrunde

🔭 Wochenrückblick

let x = 10;

function multiply(y) {
  let x = 2;
  return x * y;
}

console.log(multiply(5));

What will this program print? 

A) 10
B) 20
C) 50
D) undefined

🔭 Wochenrückblick

Follow-up:

  • Why doesn’t the function use the x = 10 defined outside?

  • What would happen if we removed let x = 2; from inside the function?

🎯 Lernziele

 

🟠

🟠

🟢

🟠

🟠

🟢

🟢

🔴

🔴

🟠

🔴

🔴

🟢

🟠

🟠

🔴

🟠

🗓️ Termine

  • W05: Dienstag, 9.9.
  • W06: Dienstag, 16.9.
  • W07: Dienstag, 23.9.
  • W08: Dienstag, 30.9.
  • Dienstag, 7.10. – Herbstferien, kein Unterricht
  • Dienstag, 14.10. – Herbstferien, kein Unterricht
  • W09: Dienstag, 21.10. – Stellvertretung
  • W10: Dienstag, 28.10.

🛸 Begleitetes Selbststudium:
Introduction to Javascript

🏹 Input: Arrow Functions

An arrow function expression is a compact alternative to a traditional function expression, with some semantic differences and deliberate limitations in usage:

  • Arrow functions don't have their own bindings to this, arguments, or super, and should not be used as methods.
  •  

  • Arrow functions cannot be used as constructors. Calling them with new throws a TypeError. They also don't have access to the new.target keyword.

  •  

  • Arrow functions cannot use yield within their body and cannot be created as generator functions.

🏹 Input: Arrow Functions

💬 Wöchentliche Check-ins

 

Jeder Lernende hat 3 - 5 min Gesprächszeit mit mir über:

  • Was haben Sie diese Woche gelernt?
  • Was waren Herausforderungen?
  • Zeigen Sie mir Ihren Code.

🧮 Schlüssel:

Kriteria Punkte
Bereit, reflektiert, engagiert 1
Passiv oder unvorbereitet 0.5
Unentschuldigte Absenz 0

📔 Lernjournal

 

Jeder Lernende schreibt jede Woche nach der Lektion eine kurze Reflektion. Aufwand: 5 – 10 min, könnte sein:

  • Frei geschriebener Absatz
  • Auflistung von Gelerntem
  • Eine bestehende Frage
  • Code Snippet, auf welches man stolz ist

🧮 Schlüssel:

Kriteria Punkte
Durchdacht, spezifisch, persönlich 1
Generell, gehetzt oder unklar 0.5
Fehlend 0

🎙️ Schlussrunde

Was haben wir heute gelernt?

Was nehmen wir mit?

Mediamatiker/in EFZ - Modul 288: Programmiertechniken im Webfrontend einsetzen W05

By colinschmid_gbc

Mediamatiker/in EFZ - Modul 288: Programmiertechniken im Webfrontend einsetzen W05

Programmiert mit JavaScript basierten Sprachen korrekte Abläufe, wiederverwendbare Funktionen und einfache Objekte. Manipuliert das HTML-DOM und liest Datenstrukturen in der JavaScript Object Notation (JSON) aus.

  • 31