Re:Ask HN: Programming language size – does it matter?
by PaulHoule on Thursday July 29, 2021 @10:33AM
(#27997027)
There is the language and there is the standard library.
In C for instance it is common to throw out the stdlib. A language like Java has a big stdlib and also has the maven central repository which is like the stdlib in that you are always going to be using it if you work on other people’s code.
JavaScript has a small stdlib, although it is typically attached the the browser which is a universe in itself. Npm is its own universe.
In small languages people are often reinventing the wheel in dangerous ways, for instance string parsing is hard to get right, you don’t want to write urlencode/decode, yaml serdes.
For doing innovative and challenging things a big language with attention to detail (Java) frees you to think about specifics as opposed to being the first person (it seems) to discover and work around problems in your platform.
In C for instance it is common to throw out the stdlib. A language like Java has a big stdlib and also has the maven central repository which is like the stdlib in that you are always going to be using it if you work on other people’s code.
JavaScript has a small stdlib, although it is typically attached the the browser which is a universe in itself. Npm is its own universe.
In small languages people are often reinventing the wheel in dangerous ways, for instance string parsing is hard to get right, you don’t want to write urlencode/decode, yaml serdes.
For doing innovative and challenging things a big language with attention to detail (Java) frees you to think about specifics as opposed to being the first person (it seems) to discover and work around problems in your platform.