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

Python: The great, the bad and the ugly

Python is one of the most popular programming languages. In fact PYPL has Python as now the most popular language, and Tiobe recently awarded Python language of the year. So clearly Python has very strong appeal, hence the upgrade from 'good' to 'great' in the title of this post. An interesting perspective can be gained… Continue reading Python: The great, the bad and the ugly

Closures, callbacks, Lambdas and Lambda parameters

Introduction. Previous pages have introduced the concept of lambdas and closures, and explained how the concept of the closure relates to methods, static and class methods in both python and kotlin.  This page builds on the concept of lambdas and closures, and provides more details on the workings in kotlin, and how this differs from… Continue reading Closures, callbacks, Lambdas and Lambda parameters

Kotlin? Or another alternative?

The theme for these pages is on learning Kotlin with Python as the starting point. Python is applicable desktop/server applications, as is every language on this page.  However some also deliver: Native Code, Browser Code, Mobile Apps and JVM applications. Is Kotlin the best choice to compliment Python? Kotlin rates very highly on 'liked scales'… Continue reading Kotlin? Or another alternative?