Earlier quoted context omitted.
For consulting companies who have to educate their customer base on why they should go with Rails this is a well put together microsite.
So, this is exactly an SEO grab. Anyone on HN find anything useful?
Choosing Ruby on Rails for web development project in 2019
201–210 of 216 posts
Re: Choosing Ruby on Rails for web development project in 2019
#202Rails doesn't scale, or more accurately described as Rails does not scale easily or cheaply. A lot of people doing consultation may have heard their client ask if they should switch to something else because Rails does not X, or Y or Z. ( Normally the standard reply is But GitHub and Shopify is using Rails as well, which should settle the argument ) Rails, by default is still viewed as a Server Rendered Only Framewor…
I am curious about your definition of scale, because in my experience this is just flat out untrue.
Re: Choosing Ruby on Rails for web development project in 2019
#203Earlier quoted context omitted.
Or if you want productivity and a performant web server, try Elixir + Phoenix. Number crunching still has to be dished off to something else like C, Rust or Go, though.
I'm working on three projects for three customers right now. Phoenix, Django and Rails. From my personal experience: 1) Elixir + Phoenix have some definite advantages when spawning asynchronous tasks (no external dependencies, it's in the language) and it runs reasonably quick. 2) Coding in Ruby on Rails is faster. An example, it's much easier to write queries in ActiveRecord than in Ecto, which is over engineered fo…
I've found Ecto to be a productivity boon once I understood it, except for very small projects. For those, I reach for Rails just as you suggested.
My real productivity boost with Phoenix is that Elixir (or the Erlang VM, to be accurate) can take care of so many things I'd be dishing off to Redis, Sidekiq or other tools in a Rails app. That and the lack of surprises from metaprogramming or ActiveRecord default behaviors I haven't kept in mind while building.
Re: Choosing Ruby on Rails for web development project in 2019
#204Earlier quoted context omitted.
I am curious about your definition of scale, because in my experience this is just flat out untrue.
It just basically meant it uses more hardware resources than Go or JSP. Which is a problem in places like China, when the Scale is 10x of anywhere else, Salary is 5x lower, and Computer Resources are 2x - 3x more expensive.
Re: Choosing Ruby on Rails for web development project in 2019
#205Re: Choosing Ruby on Rails for web development project in 2019
#206Earlier quoted context omitted.
It just basically meant it uses more hardware resources than Go or JSP. Which is a problem in places like China, when the Scale is 10x of anywhere else, Salary is 5x lower, and Computer Resources are 2x - 3x more expensive.
Fair enough, I was thinking in terms of SV salaries and western compute resources.
The average salary of an entry level Ruby on Rails Dev in China is under 24K USD.
And while everything is cheap in China, for whatever strange reason their Cloud Compute Resources and Bandwidth are 2x of even Amazon in Hong Kong or Australia ( Some of the most expensive instances in AWS ).
And you get the idea why pretty no one outside of High Salaries Region, ( US, UK, Germany, France ) are using Ruby Rails. Sometimes the equation or selling point just doesn't fit.
Re: Choosing Ruby on Rails for web development project in 2019
#207Earlier quoted context omitted.
I have to be honest, I don't understand why people care so much about typed languages. I almost never face type related issues, and when they occur they are the easiest to catch.
I used to think that, as a C programmer used to passing void-stars around bristling against C++ in 2001 (which, to be fair, was not a good language. I continued to think it through a years of writing Python and Ruby. Then I picked up Go, which I thought I would hate due to typing, and: the opposite thing happened. Particular example: every time you've accidentally pulled the wrong key out of a map (because that's how…
Re: Choosing Ruby on Rails for web development project in 2019
#208Earlier quoted context omitted.
I have to be honest, I don't understand why people care so much about typed languages. I almost never face type related issues, and when they occur they are the easiest to catch.
I have a talk where I turn "you called a function from the wrong thread" into something caught by the type checker in C. Getting an error message at compile time pointing out the specific line with an error, rather than segfaulting at a later point in roughly 2/3 of executions, is a big improvement in developer experience. Slides here: https://github.com/dlthomas/using-c-types-talk/tree/master/s... The example is a t…
Re: Choosing Ruby on Rails for web development project in 2019
#209Earlier quoted context omitted.
I have a talk where I turn "you called a function from the wrong thread" into something caught by the type checker in C. Getting an error message at compile time pointing out the specific line with an error, rather than segfaulting at a later point in roughly 2/3 of executions, is a big improvement in developer experience. Slides here: https://github.com/dlthomas/using-c-types-talk/tree/master/s... The example is a t…
"where I turn" This wording really hilights something that I think a lot of dynamic typing proponents don't fully appreciate. Using a type system is a learned skill, not something you magically get for free. You need both a good type system and the experience/education to use it to its fullest. Encoding threading rules in the type system isn't something C ships with out of the box, and it's not something a lot of peo…
Re: Choosing Ruby on Rails for web development project in 2019
#210Earlier quoted context omitted.
Fair enough, I was thinking in terms of SV salaries and western compute resources.
A few more Data Point, The total online population in China is more than online population of US, Canada and Whole of EU combined. And while US, Canada and EU are separated by 10+ time zone, China is in one time zone, the peak traffic of anything that gets small traction in China is likely to be 10x if not a lot higher. The average salary of an entry level Ruby on Rails Dev in China is under 24K USD. And while everyt…
If you were starting up a web app in China what languages would you choose?