go-proverbs / go-proverbs.github.io

Inspired by @rob_pike talk at Gopherfest SV 2015
MIT License
334 stars 21 forks source link

Proverb proposal #21

Open petar-dambovaliev opened 7 years ago

petar-dambovaliev commented 7 years ago

When you write Go, do as Gophers do.

robpike commented 7 years ago

Other than s/GO/go/, that's a nice one.

HarveyKandola commented 7 years ago

@robpike let us know if you would like to add this to the list...

robpike commented 7 years ago

Needs context and explanation, so let's wait until the next presentation of proverbs. Maybe that will be before too long.

petar-dambovaliev commented 6 years ago

@robpike are there going to be additions to the proverbs this year?

petar-dambovaliev commented 5 years ago

@robpike Here is my context and explanation for the proverb. From anti patterns like "util" packages filled with random code, people who always pass pointers to structs around like it's C, not thinking about that Go does escape analysis which could result in more work being done and creates more garbage unnecessarily, to people who are on the other end, who always pass everything by value. They should stop fighting the language and start using it.