Software needs a way to represent a point in time, a 'timestamp', and the difference between two points in time. TimeStamps: What are the problems to be solved?Absolute Time: UTC Time Zones: Time is RelativeDate/Time from which Perspective?Extra Data: Local TimeOriginal Event Time: Key To Reporting.Local Time Calculation & Complications.Timezone SolutionsDateTime Properties & UsageImplementationGeneralPythonKotlinConclusion: Combining… Continue reading Dates, Datetimes & Timestamps.
These pages are targeted at people who can already program in Python, so the most basic aspects of functions and methods is assumed knowledge, and this page focuses on what is of interest to those who aleady have that assumed knowledge. Default Value Parameters.The default value trap'Pure' functions / methodsFunction overloading Default Value Parameters Both… Continue reading Functions and Methods (With the Traps and Tricks)
This posts delves a little deeper in to variables in both Python and Kotlin. Nobody Expects.. Pointers in Python (and Kotlin)Primitive Values vs Reference/Pointer Variables.Mutable vs ImmutableShared Modifications - The Devil InsideClass vs Type in Python & Kotlin Nobody Expects.... In many languages, the simplest variables operate like a calculator memory: A value is stored… Continue reading Variables & Types (Under the hood)
The two that do not fit in the same group are the Python With and Kotlin Use. These functions are for using (or doing something with) a resource that should be released when the operation is complete. Kotlin Let, Apply, Run, Also, With (not to be confused with Python With), are all quite similar. Once… Continue reading With,Use,Apply,Also,Run,Let
Available in the Android SDK (SDK Tools) and therefore also in both Intellij IDEA and Android Studio, the Android emulator allows apps be run on a computer used for development in place of running on a phone. This page describes how to run the Android emulator from Intellij IDEA/Android Studio or from a the command… Continue reading Android Emulator