How German can be learned like a programming language
Here is the algorithm for selecting the correct article, demonstrative or possessive pronoun and then deciding how to decorate any adjective you may have. This diagram shows how the CASE (Fälle) can be described like a programming algorithm.
Of course to use this algorithm you need some background information that describes the strong grid, the mixed grid and the weak grid. These grids are equivalent to database tables. You learn these data structures in the first day you work with us.
This system is extended from work originally done at the University of Michigan (http://www.lsa.umich.edu/german/hmr/grammatik/Adjektive/Adjektivendungen.html).