3 ms·
I said for 2018. The App ecosystem has changed a lot since 2005 when rails was Released, more apps these days use a combination of JS + Firebase. For most CRUD
by pankajdoharey 8y ago
I said for 2018. The App ecosystem has changed a lot since 2005 when rails was Released, more apps these days use a combination of JS + Firebase. For most CRUD styled SPI's this is the "best" way to write apps. Rails is no where in this ecosystem, it still depends on age old Nginx+SQL+Rails style, but the truth is most new apps want to start small. So for 2018 JS is the "Best" unlike Rails. The number of transpilers that exist for JS is an indication of JS invasiveness, its ubiquity and simplicity to transpile to. Since JS is a much smaller languaage than Ruby it is easier to transpile to. Some languages do give better tools of abstraction but at the end all those higher thoughts are implemented in the same JS which is a good indication of its usability, There are good and bad parts both in JS, but i dont think it is a complete shit show, just better educate yourself as a programmer to use the good parts. I think you are not aware of the interesting ways you can write composable code in JS. Rails depends on the Magic of Ruby, one can write great DSL's is Ruby and thus Rails, But Rails with its MVC toolchain alone does serve the needs of large apps, it is OK to do CRUD apps, but for large apps MVC breaks inside Rails. This is a big reason why a number of people have switched back to simpler ways to do things like Routing+Templates+Glue Code makes a webapp such as in Express.js , Rails is simply too big when it starts, with too much magic that people dont want to bother with. Which is why more Apps these days are activated in Nodejs frameworks. There is a reason for its popularity it isnt a coincidence, there are things people like in JS/Nodejs/Express.js that it is so popular.
- keymone 8y agoThe reason for its popularity is like with Java and C++ and C# - a combination of unfortunate feedback loops: companies are looking for cheap developers familiar with technology they already use. Has nothing to do with JS’s or ecosystem’s sanity or (nonexistent) advantages over other languages.