Ask HN: Ruby Dev, is moving to PHP a step backward career wise?
My previous projects at the company have all been in Ruby on Rails, but they really want me to move to a PHP framework, as I am probably the last remaining Rails developer. It's not that I can't pick it up, I picked up Ruby and Rails when I joined, after Django and Python, but I worry that in the future, if I am looking to move, people are going to look at my resume, see I'm not using Rails or Node or Golang, and pass. Most of the company is back east and kinda enterprisy, I'm one of a handful of devs in the bay area office.
Thoughts?
26 comments
[ 2.4 ms ] story [ 79.9 ms ] threadJust change language is not a step forward nor backward.
Keep doing the same type of application over and over with always the same set of constrains and problem is not a step forward.
I wouldn't worry about change language... I would be worry about don't change the set of problems you are facing and the kind of tool you are learning.
(with tool I don't mean "git" or "make" but I mean mental tool, paradigms, ideas.)
If there's a genuine opportunity for growth and learning with modern skills i think you will always be able to spin that positively
To add to this comment, Solving problems is more important than the language you implement the solution in. You can write good Php code and the same goes for any other language. At the end of the day the result is what matters. I personally think your putting to much emphasis on the language.
I actually moved to a different country just to get a full time clojure position and it's awesome. I have so much more fun and less frustration at work .
Granted the team is also great and the product really interesting, but still I wouldn't want to do it in any less functional language.
You need to adapt to the changing technologies, even if they aren't as awesome to you personally. Why pigeon-hole yourself? I'd rather hire someone that is adaptable without stubbornness for technology (and usually an ego).
PHP used to be royal crap, but it has a ton of good stuff in it now-a-days, at least feature and performance-wise.
Being adaptable and open to learning more about programming languages will be much better for a career. Are you a programmer or not? Do you love programming or do you love a specific language only? Overcoming challenges and implementing business needs is one of the best things ever!
Frequently in PHP I found myself missing a proper REPL, yes PHP can be run interactively with `$ php -a`, but it doesn't print the last returned value, so spelunking in a running system is slow and awkward, luckily I've found Boris(https://github.com/borisrepl/boris) which is more like IRB or Pry, but it's still unpleasant when I'm trying to kill a tricky bug. On the package management front Composer is a better solution than previous PHP offerings, but it's got some quirks that make it seem unpolished compared to Bundler.
If I was given a choice PHP I would never willingly pick PHP. I suspect your company is pressuring you to move because they think they can get PHP devs at a lower cost than Ruby devs. If you're in the Bay Area there are plenty of companies that will hire you to write Ruby so you don't really have to switch if you're not comfortable with it.
But if they ask you to work with PHP 5.3, leave.
There are places that hire solely on what language you're using right now, but there are also companies that know better, and look at your total experience.
If they are moving to Laravel it's a great framework, go for it. Some parts you will like even better than Rails. Hopefully it's Laravel, it's by far the best php framework. (my opinion).
Pay for Laravel projects and jobs are approaching rails work so I wouldn't worry too much about pay or opportunities.
If anything you'll be more valuable because you know both.
I would keep at least one personal rails project going so you keep up with updates, whats new and can roll in to a new rails job in the future if needed.
Keep your Rails skills sharp and you can keep Rails prominently on your resume.
Good luck.
Also, as someone who has been writing PHP for what many would consider too long, I can safely say that there's always tons of work to be done. Not all of it is pretty, but it pays the bills, and there's a lot of really interesting organizations out there that you can work for.
If you want to stick to api/backend dev, pick up node, its "async everything" mindset is very hard to turn back from once you become accustomed to it. One big benefit of this would be getting good at javascript, which can help you become a proper full stack dev(browser, and mobile with react-native).
If you want to explore systems programming, or high perf computation, golang is a good option.
Or switch to a completely new area of programming, like data science, where python has a stronghold for now.