Wilson Gardner15,525 Points
Will there be more/newer Ruby courses?
I'm just curious if Ruby is basically being phased out? With the release of Rails 6 on the horizon I am excited about the potential future of Ruby. Most of the courses at Treehouse are a little dated and I wondered if there would be new content coming?
Jay McGavrenTreehouse Teacher
At this point, we are unfortunately not seeing the kind of demand that will allow us to create new Ruby content. Core Ruby doesn't change that much from version to version, so we are leaving the existing content up for now, as it tends to age pretty well. Rails might be another matter. We will have to see how many breaking changes Rails 6 introduces.
Kurt L22,133 Points
Ruby should be promoted more effectively in colleges, universities, and in domains like data science. It's a very elegant language. For example, because of Ruby blocks (which Python lacks), Sinatra has one fewer line for every method call compared to Flask. In Jay's video on YouTube, https://www.youtube.com/watch?v=vFEPkXybAlo, he explains the advantages of Ruby over Java, but not over Python. A follow-up video comparing Sinatra to Flask would really showcase Ruby's elegance. Here's a "Hello, world" app in the two languages:
from flask import Flask app = Flask(__name__) @app.route('/') def hello(): return 'Hello World!' if __name__ == '__main__': app.run()
require 'sinatra' get '/' do 'Hello World!' end