Blog

Firebase Predictions 🔮

Firebase provides a wide variety of tools, something for every developer and something for every problem. But did you know that it has a tool that enables you to see into the future?!

/* intentionally left empty */

Doing copy/paste of the sample data from one project to another is not an option.

tools:title="RemoteSampleData"

Doing copy/paste of the sample data from one project to another is not an option.

tools:title="LayoutPreview"

As every Android developer, I also started building my layouts by hard-coding values into them. Later on, I have realised that I should…

Giving your code to the community

About two years ago, I started putting pieces of code on my GitHub page. And soon I have noticed that nobody was looking at it. My profile was dead.

PRObably the Language Of God

During my university days, while I was studying Mathematics and CS, software development was refreshment of applied science in a sea of theoretical math. But then at my 4th semester I got the Prolog.

Variable looked at me and said: "Say my name!"

While you are writing your code, the most important thing to have in mind is that you are writing your code first and foremost for humans to understand, and secondly for a machine to interpret.

Handling configuration changes using static references

What if you hold a static reference to the data in my Activity to preserve them on screen rotation? Why is that bad?

Short methods FTW

My boss came to me and said: "Every method that you write should be less than 25 lines long" and I laughed, I laughed hard, right in his face. I was such a plonker!