5 ms·
1. Antipattern. 2. Did it inside, I hope. 3. strings.Cut, where is the doc for this? How can this not be Googled? Anyway, easily solved in many ways.
by AtNightWeCode 5y ago
1. Antipattern. 2. Did it inside, I hope. 3. strings.Cut, where is the doc for this? How can this not be Googled? Anyway, easily solved in many ways.
- philosopher1234 5y agoWhy is it an anti pattern?
- LukeShu 5y ago> strings.Cut, where is the doc for this? How can this not be Googled? https://pkg.go.dev/strings@master#Cut https://pkg.go.dev/strings@master#Cut
- adamrt 5y agoIs this just drive by negativity? 1. Care to elaborate? 2. What does this even mean? 3. It’s in the pending release notes with all the other new features and further information in the post you’re commenting on. https://tip.golang.org/doc/go1.18 https://tip.golang.org/doc/go1.18 Try to be more constructive if you want a conversation please.
- AtNightWeCode 5y ago
- onei 5y agoFor your criticism regarding reproducible builds, I'm not sure it's entirely correct. The impression I got from a skim was that version control metadata was being embedded, such as the git commit hash or maybe a tag. Both of which are static within the constraints that builds are generally reproducible across. However, if it includes timestamps or some generated metadata, then I wholeheartedly agree with your concerns.
- aniforprez 5y agoI think the guarantee of downvotes is for your absolutely awful attitude
- adamrt 5y ago1. Wrong. There are cases where reproducible builds are valuable. There are other times when you don’t care. This allows you to choose for what fits your situation. 2. Okay, what about projects that don’t fit your criteria? This is useful and requested. You seem to have a different philosophy than other people but seem to be unable to consider those other philosophies. It’s your way or the highway. Not everyone wants an exciting language. Some people want a stable and useful language. Go is intentionally not exciting. They add features based on user feedback and real world use, at a slow and careful pace. Also consider you might get downvotes not because it’s about go, but because you’re kinda rude. You just spouted negativity with no explanation and called tons of people Sons of Bitches. Could be that?
- jdhendrickson 5y agoOk, if GO is soulless what languages have a soul? Just curious.
- kitd 5y ago1. Antipattern Any chance of a reason?