Named and Default Arguments
One thing that annoyed me mostly while I was working in Java is the arguments in the function. If you have a function that requires more than 3 arguments, it becomes cumbersome - we have to ensure th…
62 posts · page 7 of 8
One thing that annoyed me mostly while I was working in Java is the arguments in the function. If you have a function that requires more than 3 arguments, it becomes cumbersome - we have to ensure th…
If you are new to Kotlin, there is something in property accessor that you might find it interesting. There are two methods - get() for getter and set() for setter for each property.
So we have seen the wonderful [Set][set-in-kotlin]. Next, we are going to look at Map.
Another Kotlin treasure that I have not known is the ability to write infix notation in function. We use infix notation in most arithmetic operation such as a + b. The infix notation is where the ope…
In computer science, Set is an interesting abstract data type that stores unique values. It is a collection that allows only one element of each value.
A fundamental principle in programming is the acronym DRY: Don't Repeat Yourself.
A List is a container, which is an object that holds other objects. Containers are also called collections.
Do you know what vararg keyword is? Using this vararg, you can define a function that takes any number of argument.