Variables & Types (Under the hood)

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)

Advertisement

Python to Kotlin: Variables and Types

Contents: python kotlin boxed objects vs unboxed primitives None, Nothing, Unit and null null safety Python Variables and Types As explained in the background, all values in python are objects stored in dynamic 'heap' memory, and variables are simply references to these objects. This means the only static or stack frame based information for any… Continue reading Python to Kotlin: Variables and Types