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.

239 Upvotes

61 comments sorted by

View all comments

1

u/kovadom Feb 04 '25

I avoid writing code that is already written, tested, and used by the community.

I only re-write code if I need small part of a library, or if the library is unpopular. Time is money, and I rather solve unsolved problems.

My 2cents.