Structure: Import, Dependencies & Repositories

Both Kotlin and Python use the keyword "import". At a superficial level, import performs a similar role in both languages, but the steps for each languages achieve what is required are very different. Examining how import works, explores the structure of Python and Kotlin program, and how they are constructed. Import relies on dependencies, and… Continue reading Structure: Import, Dependencies & Repositories

Advertisements

Namespaces, Modules & Packages

I found the wikipedia page on namespaces not very helpful, and in fact did not find a concise and clear explanation elsewhere, so hopeful this post provides a clear and concise explanation of the basics, before getting to the more advanced. Contents: Basicswhat is a namespace?runtime vs compile time namespacesglobal namespacesobject namespaces and "."function/method 'local'… Continue reading Namespaces, Modules & Packages