News for hackers. Stuff that matters.
Re:Learning Ruby: Things I Like, Things I Miss from Python by forgingahead on Tuesday February 16, 2021 @04:00AM (#26152185)
Depends on your use-cases - Rails is unparalleled in my opinion for getting a web app up and running, testing startup ideas, and building quickly in response to customer feedback.

I've been using Python recently as I've done more ML work, and I do prefer Ruby (though the syntaxes are similar and you won't have any difficulty).

If you learn for Rails, start with 5.2.3, webpacker and the other black magic in Rails 6 will frustrate you and currently eliminates a lot of the ease of getting started and building relatively sophisticated web apps quickly.

Re:Learning Ruby: Things I Like, Things I Miss from Python by 20thCB on Tuesday February 16, 2021 @07:36AM (#26153301)
"If you learn for Rails, start with 5.2.3, webpacker and the other black magic in Rails 6 will frustrate you and currently eliminates a lot of the ease of getting started and building relatively sophisticated web apps quickly."

Anyone else agree with this?

Re:Learning Ruby: Things I Like, Things I Miss from Python by buf on Tuesday February 16, 2021 @08:18AM (#26153545)
Nope.

Webpacker is here to stay and takes about 5 minutes to understand. Might as well take advantage of it so you can quickly add complex front end components via React or whatever flavor of FE you prefer.

Re:Learning Ruby: Things I Like, Things I Miss from Python by adsteel_ on Tuesday February 16, 2021 @08:49AM (#26153825)
I agree, webpacker makes learning Rails harder. It's a shame. But learning on a non current version is a short term solution. A good tutorial, like Michael Hartl's, will get you over that hump.
Re:Learning Ruby: Things I Like, Things I Miss from Python by zeku on Tuesday February 16, 2021 @10:39AM (#26154864)
I'm learning rails 6 right now for a work project, and webpacker is just broken so I can't even get hello world to work.