Enum & Sealed Classes

Enum is an abbreviation for 'enumerated'.  The overall concept is processing information where each value is one of a very limited set of values.  This is a look from the basics to the more advanced in how a dynamic language like python treats enum, through the advanced treatment available in kotlin. TLDR; Just read the… Continue reading Enum & Sealed Classes

Moving to Kotlin for Android Mobile Applications

Anyone currently developing Android applications in Java should start migrating code to kotlin.  It is that simple, the argument for this position, as outlined below, are compelling. However, there are many people who current develop apps using a tool other than Java, and for these people, the situation is far more complex, and I will… Continue reading Moving to Kotlin for Android Mobile Applications

Implementation: what is a practical approach?

Any software team who is considering moving to kotlin, must by definition, be currently using at least one alternative language.  To change languages, and ecosystems, is a big step.  One of the key features of kotlin is how easily and seamlessly a project can migrate from java.  Currently, that same ease of migration is far… Continue reading Implementation: what is a practical approach?

Kotlin DSL templates with Python (or any other) Server

The Concept: A replacement template engine written in Kotlin DSL Kotlin can replace the template system for a python server, or ruby server, or any other server, with no change to the server other than the template system, regardless of what language is used for the server itself. This allows replacing mako, or jinga2,  Django… Continue reading Kotlin DSL templates with Python (or any other) Server

Machine Code, Global memory, the Stack and the Heap

Today we have progressed so far that we have computers with multiple 'cores' (in fact complete processors) on a single chip. But one way to understand the fundamentals of computers is to analyse far simpler computers from the past.  This section will review those very fundamental concepts in terms of each of the following: a… Continue reading Machine Code, Global memory, the Stack and the Heap