Description: Posts about my journey as a software developer
design (78530) clarity (381) hugo theme (52)
Kotlin allows a thread of execution to be suspended until some other asynchronous function completes and returns a result. Suspend functions are most commonly used when a response from an external resource is needed to complete the suspend function. Most often the external resource is a web service API or a connected …
Extracting members of a collection that match some filtering predicate is a common pattern in programming. Traditionally we would iterate over all members (e.g. with a for or foreach loop), and save each member matching some condition. Most programming languages now provide some single step filter function to eliminate …
It's helpful to experiment with language syntax in a REPL tool before pasting code into your editor. REPL is an acryonym for Read, Evaluate, Print, Loop. REPL tools are simple interactive programming environments primarily used to validate syntax and algorithms. Swift The main Swift REPL tool is the Playground feature …