Also, you can check the built-in examples and see their codes and try to understand them. IMO is not a good way to learn since all of them are spaghetti code and you would get confused, in contrast of being structured code, which improves readability of the code.