Set
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.
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.
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 ...
Do you know what vararg keyword is? Using this vararg, you can define a function that takes any number of argument.
A List is a container, which is an object that holds other objects. Containers are also called collections.
Alright. Who here think that testing is optional? Even though some doesn’t write tests, I believe no one will openly say so. Oops. it hurts.
Objects are the foundation for many modern languages, including Kotlin.
You can insert a value within a String using String templates. Remember to use a $ before the identifier name:
One of basic things that gives me a spark in the eye is when I realise in Kotlin that: