Re:A Farewell to Go
by paulddraper on Wednesday August 09, 2017 @10:12PM
(#14975747)
You have good point. I take issue with only a couple.
> No, this is not an anti-pattern, it is a perfectly valid solution to vendoring dependencies.
I'm not going t to tell you it won't work, because it will, but this very rarely done, particularly if you use a DCVS like git. When's last time you saw a Java Maven project do this. Almost never. Why? Because there is a very standard, robust way to vendor dependencies.
> Please learn the language better.
How is learning go better going to help you make a useable skiplist? What non-novice wisdom would help out?
> According to my opinion, a programming language should let a developer use his or her style. A heavy influence on the programmer’s style is okay, but a fanactic, religious-like enforcement is inacceptable.
I believe the OP exhibits a fanatic, religious-like enforcement of how he wants to format his code. If he would use gofmt, he would not have this issue:
> For example placing an opening curly bracket on a new line causes the compiler to emit a syntax error.
Because gofmt will fix it for him.
> The same goes for string concetanations that start on a new line.
Not even sure what OP means here. There are both the `` string escaping for multiple lines, and you can perfectly fine split up expressions over multiple lines, like so:
s := "aaa" +
> the linter displayed so many warnings due to my code style, that I turned it off.Way to go, cowboy.
> Broken Package Management
See gb, govendor, glider etc. Many languages can be critized for the same, but there are solutions. Use them.
> A possible mitigation strategy is shown by the Kubernetes project whose creatores store their application’s dependencies in their repository. However, this is an anti pattern of using a VCS.
No, this is not an anti-pattern, it is a perfectly valid solution to vendoring dependencies.
> No Inheritance, Missing Generics
Please learn the language better.
> Feature-Lacking HTTP Library
So, use one of the many http libraries around that suits your need better. How many languages even ship a http library in std lib?