codeinabox@programming.dev to Programming@programming.devEnglish · 2 days agoEvery dependency you add is a supply chain attack waiting to happenbenhoyt.comexternal-linkmessage-square27linkfedilinkarrow-up1157arrow-down11
arrow-up1156arrow-down1external-linkEvery dependency you add is a supply chain attack waiting to happenbenhoyt.comcodeinabox@programming.dev to Programming@programming.devEnglish · 2 days agomessage-square27linkfedilink
minus-squareGiorgioPerlasca@lemmy.mllinkfedilinkarrow-up9arrow-down2·2 days agoFavour programming languages with a good and stable standard library.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up1·8 hours agoI think the only mainstream language with a standard library that is both good and comprehensive is Go. All of the others either have smaller standard libraries (e.g. Rust) or poorly designed ones (Python).
minus-squareGiorgioPerlasca@lemmy.mllinkfedilinkarrow-up1·3 hours agoJava, .net and C++ have standard libraries that are much bigger and much more battle tested than the one of Go.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up2·49 minutes agoI haven’t used Java for decades and never used .net so I’ll take your word for those. Absolutely not for C++ though. Go’s standard library has: JSON, XML, etc. A web client and server Bigints Logging JPEG, PNG and GIF SQL client SSH client All the crypto algorithms Gzip, zlib, deflate, etc. C++ has none of that. Hell C++ only got a function to check if a string starts with a prefix a few years ago.
Favour programming languages with a good and stable standard library.
I think the only mainstream language with a standard library that is both good and comprehensive is Go. All of the others either have smaller standard libraries (e.g. Rust) or poorly designed ones (Python).
Java, .net and C++ have standard libraries that are much bigger and much more battle tested than the one of Go.
I haven’t used Java for decades and never used .net so I’ll take your word for those. Absolutely not for C++ though.
Go’s standard library has:
C++ has none of that. Hell C++ only got a function to check if a string starts with a prefix a few years ago.