Arpad Toth

Programming Addict

I'm a Software Developer with 10+ years of experience, indie Android App Developer, Co-Founder at Interactions Lab, makers of AgroGo who loves playing guitar, hiking and ocasionally writing on this blog.
January 25, 2018

SOLID premature optimizations

I think that every sane developer agrees that the SOLID principles are good and useful and when the time comes, you should apply them… but in this blog post I will concentrate on the: when the time comes part [...]

Read more
January 17, 2018

Sales Voodoo

When I started working on my own products at Interaction Lab I was very interested in everything related to startups, marketing, selling products and so on… you know, all the San Francisco hype about the importance of selling, do not focus on products!, 80% marketing 20% product development, sell the product before you even have a product. As a developer I was told again and again that developers are poor salesman and that’s the reason why they don’t conquer the world, ignite users, disrupt! [...]

Read more
June 26, 2017

Fast food development

These days everybody wants to write web applications, cuz we all know that the web has all the cool technologies: AngularReactVue, you name it. More than that we can actually see JavaScript being pushed everywhere including mobile and desktop. Java, C++, native applications are all obsolete! Ionic and Electron are the future. [...]

Read more
April 08, 2016

The problem with checked exceptions

When I first started to write Java code, I used to think that checked exceptions were really great. I still kind of like the idea, it’s just that the specific implementations can be problematic. [...]

Read more
February 17, 2016

C++: Switch vs IF

I had a debate lately about micro optimizations in C++ and what structures are faster: IF or SWITCH. Until now, I honestly didn’t encounter a scenario where the speed difference between these two structures could be objectively measured but hey, I’m a curious man and decided to look under the hood to see exactly how are they compiled by GCC. [...]

Read more
November 24, 2015

The dangerous pointer to vector

This is actually a really obvious "issue" but I found that some developers (usually the inexperienced ones) simply don't think about this horrible source of bugs:). Now let's see the problem...

Read more
November 15, 2015

Don't be clever

Everybody knows that debugging is a lot harder than writing code and every code needs to be debugged sooner or later. If not debugged you will certainly need to read it, maintain it, update it or optimize it. Let me ask you a question: If you are as clever as you can when you write the code, how you'll be able to debug it? Debugging is a lot harder than writing code! You will need to be a lot smarter than you were when you wrote the code...

Read more