We are all trying to live a better life each day, by trying to replace our old gadgets and places where we live, work and learn and we are trying to do a lot of different activities, but the happiness and calm seems to be in a far island that is constantly attracting our attention and we are in a never ending journey. But, we should stop and think about this a bit more and try to change our blueprint. I have found a thing in a computer programming language that can actually learn us to be happy.
For those of you who don’t know, a method in programming is an ability or a behavior of an object or entity to do something, for example println() is a method in Java language that can print a piece of text and that is invoked when we try to print things in a console.
In Java, there is also a method called random(), that, according to the documentation, returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0. Continue reading