Behind every successful technology is a strong ecosystem. Without the right tools and community, a new programming language will never achieve the uptake required to become a success. That’s why it’s so important that Kotlin is built into the Java ecosystem rather than outside of it.
In Kotlin, every class is
finalby default. You must explicitly use the keyword
open, which is the exact opposite of Java’s
final, to allow the class to be capable of inheritance.
Creators of modern programming languages have a big advantage because they are able to analyze the weaknesses of established languages and make things better themselves.
They’re common sense language features that, when compared to Java, end up saving you a bunch of cognitive overhead, keystrokes, and time.
To put it simple, coroutines are a way to write asynchronous code sequentially. Instead of messing around with callbacks, you can write your lines of code one after the other. Some of them will have the ability to suspend the execution and wait until the result is available.
In my personal experience, 60% of the transformed code is directly usable, and a bigger percentage for simple classes with no complex functionality.
But there is one other benefit of ConstraintLayout that most people are unaware of and the official documentation curiously doesn’t mention anything about: performing cool animations on your ConstraintLayout views with very little code.
At I/O last week, Google announced a new tool called Room which makes working with SQLite databases a lot easier, but it begs the question: How well does it perform?
Sugar and starchy foods like rice and potatoes have a draconian status. I wanted to try to live without them and see if they helps in weight loss.
Sugar-free tea didn’t really bother me. The amount of milk I add to my tea already brings some of its natural sugar flavor that I can live with. I would love to get rid of my dependence on added sugar.
Indian diet is so starch rich that it is hard to avoid it. I am going to avoid them intentionally but take it when I have to.
What would be a stoics diet be?
The month of April has been interesting for me. I thought my productivity would be at all time high because I would not be traveling the whole month but exactly opposite has happened.
The first couple of days of April were wasted because banks forced me to get out of my home during random times.
The next couple of days were glorious because I had an amazing opportunity to attend the very first Google certification summit.
The rest of the days I was just lazy and tired. My energy levels are low. I am not sure if it’s the heat, food, or extra work I have been doing lately.
I want to try giving up on sugar from tomorrow to control the out of hand weight gain I have been experiencing lately.