Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| toolbox:grundlagen [2022/09/28 22:03] – [Programming Design Principles] silversurfer | toolbox:grundlagen [2022/10/11 07:36] (aktuell) – [S] silversurfer | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Grundlagen ====== | ====== Grundlagen ====== | ||
| + | ===== Application Programming Interface (API) ===== | ||
| + | API - Dokumentation | ||
| + | * Class Name | ||
| + | * Description | ||
| + | * Properties (Attribute) | ||
| + | * Description | ||
| + | * Methods (Input params / Output values) | ||
| + | * Description | ||
| + | |||
| + | < | ||
| + | extends Node2D | ||
| + | #we can get Access to a class API by instancing it | ||
| + | var range = RandomNumberGenerator.new() | ||
| + | </ | ||
| ===== Programming Design Principles ===== | ===== Programming Design Principles ===== | ||
| - | {{youtube> | + | {{youtube> |
| * DRY: Don't repeat yourself | * DRY: Don't repeat yourself | ||
| * KISS: Keep it simple Silly | * KISS: Keep it simple Silly | ||
| * SOLID | * SOLID | ||
| + | |||
| + | ===== S===== | ||
| + | * [[grundlagen: | ||