What is this code construct wrapping the parts of a library and what is it useful for?
It’s a module pattern. You’ll see many variants of that pattern, so it’s essential to understand what really happens, you can’t just imitate one. The point of this piece of code is to complete an object c (typically your global library). You probably have many similar pieces of code in your application, all building pieces … Read more