I entered the Ruby on Rails world soon after the Agile Web Development with Rails manual came out, in 2005. Both Rails and its manual are now (2013) at the 4th installment.
Up to then and for about half a year more, I had been programming in Lotus Notes. It was a wonderful environment for many different applications, based on few, simple and powerful concepts, but for web development it was always far behind what true web environments like LAMP allowed.
I got tired of it and I’d been willing to return to my passion, web development, since I left Italy. In 1995, together with my then best italian friend, Fulvio, we started our first web development business in Rome: Energymedia (webzines publisher). A little later I went to Barcelona as an Erasmus student and right after getting my IT Engineering Diploma, I found a Lotus Notes job in Spain.
At the beginning of 2006 Rails was getting more and more hype so I decided to study it. I was immediately fascinated by its right way of doing. Everything that I knew about web development, and was cumbersome and painful in PHP (I had studied the WordPress code), had been thought of and a nice and easy and coherent solution had been provided.
Unfortunately no one was doing Rails in Barcelona at that time, so there were no possibilities to find Rails jobs. I decided to improve my PHP education and bought the Advanced PHP Programming manual, which was exactly what I needed. It taught me how to do the right things in PHP. Then I got hired by a dynamic but very old-fashioned PHP intranets developing firm.
There I mixed up what I had learnt from both books and built my own pseudo PHP framework, with a pretty useful ActiveRecord implementation. I had programmed it for a big office automation project I was leading. Codenamed SIGOV, it was an intranet for the Parliament of Catalonia, used to make laws, from inception to discussion, to approval, to publication. My first commercial PHP project (see my CV).
For five years more I continued working in PHP, but in the summer of 2012 I finally landed a Senior Ruby on Rails Backend Engineer role. It was something really great for me, to be able to work in my beloved environment, but the only way I was able to do it was as a contractor for a USA company, MusicXray.
It’s not only that Rails jobs in Barcelona are still scarce nowadays, but they are also underpaid. Well, all programming jobs and really all jobs at large are underpaid in Spain. That’s the reason why very good programmers have to work abroad. A best friend of mine, which is a very good PHP programmer with whom I worked, had to go to Tromsø, Norway, to raise its salary by about a third.
During my quest for the next Rails job, I had an interesting interview in Barcelona, a couple of months ago. 3scale is one of the very few web companies that at the same time work with Ruby and Rails, have international relevance, and are based in Barcelona. A big chunk of interest in the interview came from the salary they offered, fifty thousands euros gross a year.
In general it is quite hard to compare salary figures between different locations, so I do it with a simple method that gives me at least a rough approximation. The biggest unknown is the amount of taxes a state is gonna take, so I just compare gross salaries per year. This is not as bad an approximation as it may appear at first sight, because we really do (or should) work everywhere for ourselves and for the place we live in. Taxes are the means by which such a social collaboration is done, and to higher taxes usually correspond higher service levels.
Then all I do is a simple proportion like this:
X : there = Y : here
from which I get this formula:
Y = X here / there
Now, here / there is a factor that takes into account differences in cost of living between those locations, so I usually go to http://www.numbeo.com/cost-of-living/ and use the percentage on the line that reads “Consumer Prices Including Rent”. Sometimes that info is not available, and it gets complicated.
As an example of how this would work in practice, let’s see how much they will be really paying me in San Francisco, California, for a Senior Rails Developer position. According to indeed.com, offered salaries in San Francisco for such a job are about 124000 USD gross a year, and according to numbeo.com, Consumer Prices Including Rent in San Francisco, CA are 44.62% higher than in Barcelona. Thus
X = 124000 USD there = 1.4462 here Y = 124000 USD * here / (1.4462 here) = 92891 EUR / 1.4462 = 64231 EUR
3scale offered me a salary which is 22% lower than the average in San Francisco. Instead my last Rails job was eighty thousands dollars gross a year, working as a contractor. That converted to a salary of sixty thousands euros gross a year, and they were really that much because I worked remotely from Barcelona. Still 3scale’s offer was quite interesting, because in Barcelona only a fourth of all programmers seems to get a salary of more than thirty three thousands euros gross a year.
Another interesting bit of that interview was that the recruiter (i.e. the boss) openly underrated Rails programmers. He compared them to kids playing Lego. I don’t share that point of view at all. In fact, not only I wished to play Lego as a child had I had any chance (they were so expensive), but also programming Rails is much more fun (no girls, though).
The sad thing is that Rails strives to make web building so easy that companies often hire not so good programmers and get some good results nonetheless. Of course they also unknowingly increase the technical debt of their applications. In fact, while in a Lego piece there is only its interface (plastic, color and size), both Rails magic and gems hide entire philosophies. And you should understand all of them before using them. Even if they work as expected, even if we only interface with them, in reality we should not only know what they do but also understand how they do it.
Any fool can know. The point is to understand.
― Albert Einstein
With great power comes great responsibility.
― Stan Lee
The fact that Rails programming is considered of lesser ability than other languages is maybe at the root of why Rails jobs are much less paid, at least in Europe. For example, I recently underwent a job interview for London, UK. All was fine until we got to the salary they offered: it was fifty thousands pounds.
Using the above formula, I get
X = 50000 GBP there = 1.6276 here Y = 50000 GBP * here / (1.6276 here) = 58519 EUR / 1.6276 = 35954 EUR
And that figure is almost as much as I earned in 2007, at the beginning of my PHP commercial experience!!