News for hackers. Stuff that matters.
Re:Ruby in Twenty Minutes (2006) by zach43 on Saturday February 09, 2019 @07:10PM (#19125560)
i'm a bit confused about who the target audience for this tutorial is...it is too fast-paced for a newbie, but also seems to be too basic for anyone who is experienced with other programming languages.

not entirely sure what the "in twenty minutes" bit is aiming to achieve here

Re:Ruby in Twenty Minutes (2006) by agumonkey on Saturday February 09, 2019 @09:09PM (#19125989)
I do like these https://learnxinyminutes.com/ very much
Re:Ruby in Twenty Minutes (2006) by MuffinFlavored on Saturday February 09, 2019 @07:16PM (#19125592)
Why would anybody want to learn Ruby over say... node.js/Typescript these days?
Re:Ruby in Twenty Minutes (2006) by chrischattin on Saturday February 09, 2019 @08:32PM (#19125867)
Well, Rails is still the fastest way to build and iterate a web app that I know of... BY FAR.

I volunteer to teach an intro to Rails class to folks getting ready to graduate a local code school and always enjoy watching their facial expressions as I live demo in about 15 min what they just spend the last couple months learning how to implement in the node/JS stack.

Plus, Ruby is just a joy to work with. Hard to put a price on enjoying the language and framework you work with.

Re:Ruby in Twenty Minutes (2006) by dleslie on Saturday February 09, 2019 @10:21PM (#19126206)
The magic of opinionated and reasonable defaults.
Re:Ruby in Twenty Minutes (2006) by shubham_sinha on Saturday February 09, 2019 @10:48PM (#19126267)
When Node Js is taught people often teach Express framework. If someone teaches AdonisJs, it will have similar effect on audience as mentioned above.
Re:Ruby in Twenty Minutes (2006) by dagoat on Saturday February 09, 2019 @11:41PM (#19126395)
AdonisJs actually does look interesting.

As a side point though, it is much less mature than rails.

Just going off the age, and number of: commits/releases/contributors.

Its GitHub pulse is also obviously not as “rapid”

Rails also has a rich set of libraries in the form of gems - which AdonisJs most likely doesn’t rival

Rails is also used/has been used in production by some major companies. Perhaps AdonisJs has been too, but it can’t be as many

Re:Ruby in Twenty Minutes (2006) by sandGorgon on Sunday February 10, 2019 @01:27AM (#19126615)
There is also Nest.js (which is Typescript based and also comes with an OEM,etc.).

Nest has a bit more mindshare right now - with Triplebyte, etc using them

https://nestjs.com

The good part is that it uses Express under the hood (which probably is ending up becoming the Rack of JavaScript middleware) ...so you get the third party ecosystem compatibility.

Re:Ruby in Twenty Minutes (2006) by mooreds on Sunday February 10, 2019 @10:46AM (#19128205)
I found this post a good overview of Ruby in 2019:

https://naturaily.com/blog/who-gives-f-about-rails

Re:Ruby in Twenty Minutes (2006) by mixmastamyk on Monday February 11, 2019 @03:22AM (#19132820)
PHP is the fastest at whipping something up. Not a fan, but it’s fast.
Re:Ruby in Twenty Minutes (2006) by bdcravens on Saturday February 09, 2019 @07:57PM (#19125743)
Same reason as you'd learn any language: job market (some areas have more openings for one language (for instance, in Houston, Ruby is slightly ahead of Node, and C# blows both of them away) or another or you need to work with projects written in that language (in the Ruby example, say you want to write a module for Metasploit or hack on Gitlab), etc. It's never as simple as focusing only on what the coolest web language is.
Re:Ruby in Twenty Minutes (2006) by zach43 on Saturday February 09, 2019 @07:37PM (#19125684)
i've always thought of Ruby as a very clean, elegant, ergonomic language to write tools in (based on a few months of experience working with it a few years ago).

I'm familiar enough with JS that i would primarily use JS now for web stuff, but Ruby is quite a nice language to use, and I wouldn't be surprised if its easier for beginners to learn than JS.

In any case I think that skills in any one of the popular 'big' higher level dynamically typed languages (Ruby, JS, Python) are fairly transferable to the others too.

Re:Ruby in Twenty Minutes (2006) by duncan-donuts on Saturday February 09, 2019 @08:06PM (#19125784)
I remember people suggesting I learn javascript when I first started out. I found the syntax of ruby way easier to understand in those early days, and found ways to actually build stuff when I didn’t really know what I was doing. Now I sort of miss ruby (while writing node/typescript all day everyday).
Re:Ruby in Twenty Minutes (2006) by h1d on Saturday February 09, 2019 @10:41PM (#19126252)
I agree. Mainly done PHP and Nodejs and lately helping on a ruby project but I like how it's more fun when other languages feel more tight.

I feel too bad that Python had taken over the position of Ruby more or less.

Re:Ruby in Twenty Minutes (2006) by empath75 on Saturday February 09, 2019 @08:15PM (#19125808)
Ruby is a beautifully designed language and that makes it worth learning on its own.
Re:Ruby in Twenty Minutes (2006) by tracer4201 on Saturday February 09, 2019 @08:39PM (#19125895)
It depends on the use case? Are you assuming everything is a web front-end?
Re:Ruby in Twenty Minutes (2006) by mykowebhn on Saturday February 09, 2019 @07:27PM (#19125640)
I believe your question would be more poignant if you s/node\.js\/Typescript/python/ . There's a lot more overlap between the use cases for Ruby and Python. Just saying.