Moving to kotlin, the question can arise: "should I program in OOP (Object Oriented Programming) style, or move to Functional programming?". This page examines reviews what Object Oriented programming really means, what functional programing is, and outlines how there is no incompatibility if the correct approach to OOP is in place, and the two paradigms… Continue reading OOP vs Functional: No contest!
Tag: immutable
var, val and Immutability
Why 'var' or 'val' at all? TL;DR: adding the 'var' (or val) is clearer than python syntax Python programs traditionally just set variables to a value, not fuss no extra step. Creating the variable by giving it a value uses the same syntax as setting an existing variable to a new value. Using the same… Continue reading var, val and Immutability