News for hackers. Stuff that matters.
Re:Sorbet and 100% cov makes Ruby refactoring possible by lbrito on Monday April 25, 2022 @11:12PM (#31163586)
In my experience all those cons are mostly just your company/team not knowing how to program in Ruby.
Re:Sorbet and 100% cov makes Ruby refactoring possible by norman784 on Tuesday April 26, 2022 @04:41AM (#31165287)
I read this argument lot from C/C++ devs in rust discussions, they just say that you are not a good developer and they never will do any mistake, but idk, I don't mind being a dumb developer, I like to have an app that I know works, even if you are a pro and you never do a mistake, your team surely will do, it put more burden in the devs, while there are tools that can make you life easier.

Then after that if you still choose ruby over a language that gives you more guarantees and safety then is your choice.

Re:Sorbet and 100% cov makes Ruby refactoring possible by lbrito on Tuesday April 26, 2022 @11:26AM (#31168666)
That's not the same argument at all. "know language X" != "be smart".

I am specifically calling out people that _don't know Ruby_ and complain about the language being this or that, when really their frustrations come from them being inexperienced in the language.

It is like never having used a hammer, gripping it close by the head, and complaining that it takes a lot of effort to nail things. Blame's not on the hammer, bud.

This might happen with every language. I don't know. I'm a Ruby developer and have seen this countless times. Also, none of this equates to saying that ruby is perfect. It is not.

Re:Sorbet and 100% cov makes Ruby refactoring possible by rattray on Tuesday April 26, 2022 @09:01AM (#31166939)
Most devs aren't learning Ruby anymore, so if true (I'm skeptical) that sounds like it could be a problem for many organizations (perhaps not yours).

Hiring only people who are already experts in a given technology shrinks your talent pool in an already-tight market, and training is expensive (time and/or money).

Re:Sorbet and 100% cov makes Ruby refactoring possible by lbrito on Tuesday April 26, 2022 @11:34AM (#31168791)
I'm not sure your premise is correct. Hired.com's 2022 report says Ruby is one of the most in demand skills.[1]

In any case I'm not saying Ruby is high barrier or anything. It isn't! It is totally viable to hire non rubyists and build them up. I have seen it before many times. Ruby is a simple, forgiving language with fantastic documentation and an excellent community. It is pretty ideal for newcomers really. Training pays off.

[1] https://hired.com/2022-state-of-software-engineers/

Re:Sorbet and 100% cov makes Ruby refactoring possible by white_dragon88 on Tuesday April 26, 2022 @03:39AM (#31164974)
How does a team not know how to code in Ruby? Doesn’t ergonomics matter?
Re:Sorbet and 100% cov makes Ruby refactoring possible by lbrito on Tuesday April 26, 2022 @11:35AM (#31168817)
>How does a team not know how to code in Ruby?

No one is born knowing how to program.

>Doesn’t ergonomics matter?

It does and Ruby does a good job with it. It is not a hard language to learn. See my response to sibling comment.