As a Rails dev it's extremely rare for me to need some functionality that Ruby doesn't cover. If you're doing standard web development most likely you're gonna be fine with Ruby. I've been doing this with Ruby for around 8 years so I bumped into quite a few use cases...there are gems for all the standard things.
But yes outside web - data science, web crawlers etc...Python has the clear advantage.
You dont mock the db layer, i dont do that at least, hell no. Let the db be hit, check that the records it returns make sense. Thats how I roll at least.
I dont wanna sound negative but for some people giving up makes sense. Entrepreneurship could be extremely isolating and depressig, especially when its not working out, and not everyone wants a decade of failure after failure and missing out on other financial and social opportunities.
What 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.
> When multiple teams work on the same rails project, you're bound to have someone enhance some class somewhere
It really isn't that common just like it isn't that common to do it in JS or in Python. Some people used to do that shit a decade ago, it became frowned upon and I don't really see it anymore.
How much effort did you put into learning Ruby and Rails properly? It's easy to get started but rather hard to master and it sounds like you're invested in other tech.
> It takes a lot more effort and housekeeping in Rails to make it scale well.
It takes increasing the number of pods on your k8s which is how almost all teams deploy nowadays. Bigger amazon bills yes but the devops overhead isn't really larger in Rails,
Have no argument with you there, I'm not saying it was all a win.
Mental health problems seem to be increasing and the internet is part (but probably not all) of the problem.
Well the game has also changed for dynamic languages. Writing JS or Ruby with a powerful IDE today isn't what it used to be 5-10 years ago and it will keep getting better. The tools and linters will become smarter about catching silly typos. It will never be like writing in a compiled language but the gap will narrow.
Also - I don't think we'll ever agree on any language. Sure, some languages will be dominant - Java maybe or Rust or whatever, but there will always be room for alternative approaches. Humans don't fully agree on much.
Well as a society we are super screwed if some event wipes out the internet or computers. The dependence is gonna keep increasing. I wonder when we'll hearing stories about Amazon servers shut downs inadvertently killing some people.