Some awesome functions in Kotlin Map
Maps are extremely useful programming tools, and there are numerous ways to construct them. Let’s recap what we learned in List.
62 posts · page 5 of 8
Maps are extremely useful programming tools, and there are numerous ways to construct them. Let’s recap what we learned in List.
We love List. In fact, many of our work involve using List to store many piece of information. We then apply different operations on List to make it what we need for our application.
What is it? If you are coming from JavaScript, this concept may sound familiar to you. Otherwise, here is what it means.
A truly functional programming language like Javascript allows us to assign the function as a variable. Take an example of this:
Most functional programming has a great support for working with collections and so is Kotlin. If you are coding with Kotlin for sometimes, you might notice about map(), filter(), any() and forEach().
To some people, lambda may seem like syntax sugar, but it is more than that. If you have to repeat some codes with minor modification, you can leverage on the power of lambda.
The unavoidable price of reliability is simplicity – C.A.R Hoare
The earliest programming language that I was familiar with is [Assembly][assembly-wiki]. I use it to program for low level code like how i programmed for lift (elevator). I used CMP and JMP a lot. CM…