The former. Having actual code to look at how people used to do things in the past, especially under the constraints that console games used to have before everything got boiled down to either a mobile phone SoC (Nintendo Switch) or a PC in shrinkwrap (Xbox, Playstation), is worth to have available in some public form.