> Your lecturer is significantly undermining your education (which you pay for!).
In Germany, at state universities, you typically only pay money for the student self-administration. The huge "payment" is rather the opportunity cost.
> The purpose of your CS degree is to build a strong theoretical foundation
In https://news.ycombinator.com/item?id=43533033 Loeffelmann wrote that this happened at a Fachhochschule, not at a university. The purpose of universities is to give the student a strong theoretical foundation to prepare them for doing research. The purpose of Fachhochschulen is to prepare the student for working in jobs outside of academia.