4 ms·
Ask HN: Learning Python for job interviews if I already know Ruby?
Hi HN!
My day job is a Ruby on Rails position. I'm considering looking for new positions, and wonder if learning Python would be worth it for coding interviews. I'm open to another Rails position, but it's not my preferences so I'm not sure about using Ruby for interviews since Python seems to be a lot more common for those types of questions. I also know TS/JS, but have heard that there can be a stigma when using JS for non webdev roles. Any advice?
Thanks!
- vanusa 5y agoAbsolutely -- but it's best to put the matter front and center by saying "I've been learning Python, here's a little side project I did" so you don't get slammed with LC tests or Jeopardy-style phone screens. In fact they might appreciate the fact that you're eager to expand your horizons, especially if you can articulate what you see as limitations in the languages you're currently using.
- nimbleplum40 5y ago
- montblanc 5y agoWhat type of interview? If it's a Leetcode/Coderpad type of test where you're expected to deliver a working solution in 30-60 minutes definitely go with what you know best. No one cares if it's Ruby or Python. They want to see your code generally works.
- nimbleplum40 5y ago
- navyad 5y agoRefer python documentation as a reference and build some side project.
- avl999 5y agoThese days it is rare for companies to force you to implement your solution in a specific language. Ruby is close enough to "normal looking code" that you'll be fine. Just stick with whatever you are most comfortable with. It's about the algorithm anyway.
- nimbleplum40 5y ago