This is from a presentation I gave at work about how to design APIs that don’t suck. You can download the whole presentation from hereRead on →
A blog about code and stuff
Hi I'm Juan! I'm a software developer from Argentina 🇦🇷living in the Bay Area. On this blog I share the things I learn on software development and other related topics.
Hope you like it! ❤️
So I was learning to animate Views in Android using this video and was having trouble with the second time the animation runned. First run the objects end up in their destination, second run it was mayhem. I had fallen victim to the great misunderstanding everyone makes about Android animations: they are just a magic trick.Read on →
We were having a race condition on a server which was “fixed” by adding an sleep to the thread to check again later. Yes, it sucked, so I decided to make something more sophisticated and went looking for a library to handle retryies with multiple strategies. That’s when I first read about Guava RetryingRead on →
Value types is a fancy name for those classes where you have to implement
hashCode(), and usually
toString(). You’ve probably wrote thounsands of those classes, but have you ever wonder why do you have write almost 50 lines of code to express such a common concept?