this post was submitted on 18 Jun 2023
1 points (100.0% liked)

Go programming language discussion

10 readers
1 users here now

founded 5 years ago
MODERATORS
 

I find it kinda odd that github.com/gorilla/websocket, which is deprecated and the repo is in archive mode, is still the most popular library for websockets.

Case in point: go.elara.ws/go-lemmy

I'm not saying this is inherently bad, I just wonder why that is.

I guess the most common last words are "How hard could it be?", but why is nobody rolling their own?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Hal@programming.dev 1 points 1 year ago (1 children)

My hunch would be that so much boilerplate already exists, and golang is so extremely popular, that a lot of it is being pulled into tutorials, samples and new projects. If it already exists there, I doubt the many users even check the repo.

[โ€“] demonen@lemmy.ml 1 points 1 year ago

Yeah, I think that might be why it keeps spreading even after being deprecated.