24 May 2018. 1 min read.
Insights from Evan Carmichael’s Book
About the Book
This book will help give you the momentum, guidance, and confidence you need to build a business and life you can be proud of. This book is aimed at entrepreneurs as well as intrapreneurs, managers, and anyone else who wants to achieve success in a powerfully meaningful way.
This book will help you identify your one word — the word that captures your purpose and passion and teaches you how to build your business around that one word.
Key message of the book
There is One Word that connects all the things in your life that make you come alive. Your One Word is your core. Identifying your one word gives you several benefits such as:
Continue reading...
16 May 2018. 1 min read.
Insights from book The Power of Moments by Chip Heath and Dan Heath
About the book
We all have experienced wonderful moments in our lives that stand out in our memory. This book delves into some fascinating mysteries of experience and tries to answer the question “Why we tend to remember the best or worst moment of an experience, and forget the rest?”
This book will help us create meaningful experiences to
- To Enrich our life.
- To connect with others.
- To make beautiful memories.
- To improve experience of customers or patients or employes.
Some examples of how this can be useful in our practical lives:
- What if a teacher could design a lesson that he knew his students would remember twenty years later?
- What if a manager knew how to create an experience that would delight customers?
- What if you had a better sense of how to create memories that matter for your children?
Key Message of the Book
Continue reading...
07 May 2018. 0 min read.
About the book
This is the book written by Scott Adams, creator of a famous comic strip Dilbert. Scott Adams had failed at many things, but still achieved great success. In this book, Scott tells the semi-entertaining tale of how did he go from a series of failures to a successful cartoonist. He shares many good strategies that we can apply in our life to be healthy , happy and successful.
Key Messages of the book
Continue reading...
27 Apr 2018. 0 min read.
Enums are great to group objects with similar behavior. They are also efficient because only one instance of them will get created. However, it’s hard to implement enums for classes that has slightly different behaviors. Let me illustrate with an example.
Example: Stats Calculator
Let’s say we want write a Stats Calculator to compute mathematical statistics for list of values for eg. SUM, COUNT, AVG, QUANTILES . Let’s first define an interface.
Continue reading...
18 Apr 2018. 1 min read.
Computer scientist Tony Hoare Said:
I call it my billion-dollar mistake. It was the invention of the null reference in 1965
The nullable objects introduces a fundamental problem with type system. For e.g If you declare a object as String, it doesn’t guarantee that the value is real String or null.
We normally skip null checks based on our assumptions in control flow of code. But when we are wrong, the code crashes with Null Pointer Exception. Java 8 introduced Optionals to deal with Nullable objects. But it has some flaws
Why Java Optionals is not a great way to handle nulls?
Continue reading...