Re:Choose Boring Technology (2015)
by randombytes6869 on Sunday June 07, 2020 @07:22AM
(#23446585)
Trust me, its the lack of standard library. Python and Java are both "batteries included" . You can write apps decently with just 5-10 dependencies if you want. Every JS app I've worked on has like 10-20X the dependencies of projects written in languages with a good standard lib
I'm currently learning Go and it's at the other end of the spectrum. Most of my apps have only one to three dependencies and one is usually a database driver. It's a really good feeling when there is something missing from the standard library and you questioning yourself that you really need that thing.
Re:Choose Boring Technology (2015)
by scottlocklin on Sunday June 07, 2020 @10:18AM
(#23447505)
> Trust me, its the lack of standard library.
It's almost certainly not, as R has plenty of batteries, and young nitwits in the Hadleyverse are writing preposterous node-like dependency graphs. It's fashion, and it should be curb-stomped.
I don't see how R of all languages is a useful counterexample.
It's as far a way from a general-purpose language as it can get while technically still being one, in both scope and intended use/audience.
Re:Choose Boring Technology (2015)
by scottlocklin on Sunday June 07, 2020 @09:08PM
(#23452584)
It's a useful counterexample because the problem didn't exist for the 20 years before legions of nodejs bros descended upon it and bestowed upon us the mess of hot garbage it is today. At this point, there is an entire half of the ecosystem which is unusable unless you drink the 400 dependency kool aide.
Re:Choose Boring Technology (2015)
by disgruntledphd2 on Sunday June 07, 2020 @11:00AM
(#23447828)
To be fair though, there isn't as much good introductory resources on base R, that aren't very discipline specific.
I do completely agree otherwise, but those people will learn through bitter, bitter experience that those dependencies will break over time and will see the light that is base R.
Totally agree, I'm currently learning Elixir and it has been such a delight to work with compared to Javascript. I'm writing a simple static site generator and I've not used any external libraries yet, because everything I've wanted to do thus far has been easy to build with the functions included in the standard library.
All of my node projects have had rather tidy dependency trees. It’s also been quite easy for me to use popular packages. If something breaks and hundreds of thousands of devs are impacted by it, it’s going to get fixed pretty quick. Which has been my experience in the rare occasions that in of my dependencies has broken, it’s been fixed before it even had a chance to impact me.