3 ms·
> The stdlib is much more heavily tested and documented than any 3rd party library will be. You initially said you write your own code instead of using librari
by stavros 2y ago
> The stdlib is much more heavily tested and documented than any 3rd party library will be.
You initially said you write your own code instead of using libraries, I replied to that, and now it's that you use the stdlib instead of libraries. I won't argue against shifting goalposts.
- deleted 2y ago[deleted]
- filoeleven 2y agoThe poster who you just replied to is not the same person who started the thread. I am yet another person. In addition, the original post begins with, "Am I the only one to stick with the std lib". The goalposts are stable.
- stavros 2y agoAgain, the library in the article removes some stdlib footguns. The footguns are there, and if you use the stdlib, you need to remove (or avoid) them yourself. There's no free lunch, and you'll either need to remove them yourself (and test that code), avoid them (and constantly remember to not hit them), or use another library. It's not a choice between "using a dependency" or "using something in the stdlib", where all other code remains the same, otherwise there would be no point to writing a library, as it would offer nothing over `datetime`.
- ok_dad 2y agoThat’s why I’m a software developer though, because I learned the footguns in the standard library. I use it before third party libraries whenever I can. I can’t understand the fear, just learn your job.
- stavros 2y agoIf your approach to footguns is "just learn your job", I'm sorry, but you aren't a very good software developer.