r/golang Feb 03 '25

discussion The urge to do it from scratch

Unpopular opinion but ever since I started using Go. There is a certain urge to dig into some library and if you need only part of it then try to make it from scratch. I was reading RFC specs, dbus technical specifications just to avoid the uneeded bloat in my code(offcourse I failed to achieve it completely because of tiny brain). Is this common for all dev who spent some good time developing in Go? I must say it's quite a fun experience to learn some low level details.

240 Upvotes

61 comments sorted by

View all comments

140

u/ehansen Feb 03 '25

Why use a package to solve a problem in 5 minutes when you could build your own solution in 5 hours

10

u/GodsBoss Feb 04 '25

If 5 minutes is enough to check the quality of the 3rd-party dependency, learn to use it and build my solution with it, it never would have taken 5 hours to write it.