Re:Rails 7.1 Released
by brigandish on Friday October 06, 2023 @03:43AM
(#37788150)
What led you to think that Ruby devs don't know the basics of Javascript?
[delayed]
Re:Rails 7.1 Released
by andrei_says_ on Friday October 06, 2023 @05:10AM
(#37788572)
A couple of Rails versions ago, I had to deal with webpack and that surely felt like an enemy trying to fight me at every step.
Luckily, I no longer need a PhD in webpack or node packages in order to run rails s successfully.
Here is what bothered me with JS and it might sound very stupid:
The idea to have a node_modules that has tens of thousands of folders/files for the simplest package that I needed to install. Ruby has gems, but they have few files, I can easily know where to go to understand how something works or add a debugger.
But just trying to read the name of all those seemed for me always like a task that I dont want to do.
The language itself letting aside some warts is good, can be enjoyed and good code maybe can be written.
JavaScript is just a tool, like any other. And it's a very important one like it or not. And like it or not it's going to stay here for a long time.
Just have a bit of an open mind and try to learn the basics at least, it will make things easier.