[NumCS] Add intuition to fourier section, add quote

This commit is contained in:
2025-10-09 10:51:17 +02:00
parent ed3d3a321f
commit 3a8aafeaf4
3 changed files with 25 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
\begin{center}
\begin{Large}
``\textit{Denken vor Rechnen}''
``\textit{Wer in Python Type annotation benötigt, der soll kein Python verwenden}'' (2025-10-09T10:43)
\end{Large}
\hspace{3cm} - Vasile Gradinaru, 2025
@@ -73,6 +74,16 @@ The numbering should match the script's numbering exactly (apart from the cases
Many of the figures in this summary were taken directly from the Script or Lecture notes created by Professor Vasile Gradinaru.
To add to the one quote regarding Python and type annotation: This is objectively wrong and a really hot take.
Yes, this applies for small projects, but libraries \textit{DO} need type annotation, as you can't possibly read the entire library's code to use it.
The reason this quote was even included here is that his coding style is really awful (yes, there were semicolons in his Python-code sometimes)
and he rambled about bad coding style for about 10 minutes in this lecture.
Meanwhile his code has variable names that neither future him, nor anybody else can make much sense of intuitively.
You can get away without type annotation in Python, even in larger projects, but only if you give variables proper names!
Moral of the story: Use descriptive variable names and do NOT use $t$, $tt$, $ttt$, \dots
% ────────────────────────────────────────────────────────────────────
% ╭────────────────────────────────────────────────╮