by randomdata · 8y ago · 0 comments
But on the other hand, when the day is done and I look at what has been created, I'm really impressed with the quality of the project. A good team can write good software in any language, but I do believe this language has helped this team write better software than they might have in another language.
I suppose that, like everything, there are tradeoffs. I'm not not yet sure which tradeoffs are most important to me.
.filter()
Not having to write useless type casting boilerplate like this: https://github.com/majewsky/sqlproxy/blob/f5b297e7dce14c0453...
Not having to write `if err != nil { return nil, err }` every second line. (Or, in other words, Rust's question-mark operator.)
There is a clear path to working around this case, but I find it to be a bit tedious. I miss languages where, through generics, duck-typing, or similar that I can simply pass the application's structure to the third-party library and it "just works".
[1] https://github.com/upspin/upspin/blob/master/upspin/proto/pr...