News for hackers. Stuff that matters.
Re:Rails 5.0.0.rc1 by shrugger on Friday May 06, 2016 @07:00PM (#11647319)
I know a few other languages, they just aren't nearly as marketable as Ruby. I've learned Lua, Scheme, I know a little bit of Julia but most of the stdlib is over my head mathematically. I've fallen in love with Ruby because it seems to be how I 'think' about problems. I just never really had the motivation to learn Rails, I always hear people complaining about it, I've never needed a website or anything, I don't know. It just never happened.
Re:Rails 5.0.0.rc1 by Cyph0n on Friday May 06, 2016 @07:17PM (#11647405)
Like the parent commenter, I'm also a huge fan of Python. I've recently started my journey learning web dev using Scala. It's a pretty hot language right now, what with the rise of big data and ML (see Spark for example). It allows you to use existing Java libraries, yet there still is a considerable number of high-quality libraries written in Scala. The stack I've chosen is Scala + Play + Slick, but there are several popular options.
Re:Rails 5.0.0.rc1 by KurtMueller on Friday May 06, 2016 @09:53PM (#11647964)
You should look at Elixir/Phoenix - I think it's the next rails and will be the new hotness in a year or so :)

I'm personally a fan of Clojure which is an excellent language with excellent tooling and a smart and friendly community

Re:Rails 5.0.0.rc1 by qaq on Friday May 06, 2016 @11:47PM (#11648302)
+1 You should look at Elixir/Phoenix
Re:Rails 5.0.0.rc1 by egeozcan on Saturday May 07, 2016 @06:08AM (#11649030)
Sincere question: Don't you feel the lack of static typing?
Re:Rails 5.0.0.rc1 by bjz_ on Saturday May 07, 2016 @10:27AM (#11649713)
We've begun to use Elixir and Phoenix at work, and it's far nicer to work with than Rails - there's far less magic going on, and being functional, there is much less mutable state to keep in your head. That said, I still miss a rich type system. Typespecs can get you some of the way, but they're unreliable, and there's no support for parametrically polymorphic functions so far as I can see, which limits the usefulness of protocols for typechecking purposes.
Re:Rails 5.0.0.rc1 by AnneOminous on Saturday May 07, 2016 @02:39PM (#11650774)
Static typing is not a single issue. It is several.

From a high-level-language standpoint, static typing is a crutch. It isn't necessary, but it forces you to do things "the right way"... according to some definitions of the right way. It is possible to make mistakes without static typing that you would not make with it... but if you're careful you can also do some good things without it that you can't do with it. It all depends on whether you feel more comfortable with taking control or you feel the need for some restrictions to keep you "in line".

From a purely performance standpoint, there is no question: static typing compiles/interprets to faster code.

Re:Rails 5.0.0.rc1 by bjz_ on Saturday May 07, 2016 @11:18PM (#11652473)
> From a high-level-language standpoint, static typing is a crutch

I see types as a high-level design tool. They allow me to reason about a domain, and figure out how to structure things at a high level before delving into the implementation. Yes, performance is a great side-benefit, but it is not always the driving factor.

Re:Rails 5.0.0.rc1 by fallenshell on Saturday May 07, 2016 @11:03AM (#11649836)
I've put it on my list of things to learn - it looks great. Looks like a pleasure to write.
Re:Rails 5.0.0.rc1 by nitrogen on Saturday May 07, 2016 @07:37AM (#11649199)
As someone who used to do (still do a bit) C and Ruby for embedded stuff but now does RoR for an ecommerce site, webdev can be a soul-crushing mind-numbing bore, but there are jobs and it pays. Rails is decent, especially if you are working on a site where server costs are not a significant factor in site costs. It is worth learning.