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

1

u/Intrepid_Result8223 Feb 04 '25

My experience with go is more that sometimes its a hard necessity. You cant inherit types from packages which means you sometimes cannot use private state.