Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yahyaheee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
yahyaheee
7y ago
It would depend on how generics are implemented in Go, with the current proposed implementation that would be possible. Without generics today you could use an interface, wouldn't be as pretty but would get the job done.
92.
▲
by
yahyaheee
7y ago
I mean I'm sure if Google specifically wanted something they could get it, but honestly I don't get the impression from any of the Go authors they are there to serve Google. They seem genuinely interested in just building the best
93.
▲
by
yahyaheee
7y ago
Caught me, Go was developed for Google only because it fits between C++ and Java meaning its worthless to everyone else ;) Generics and dep management were on the top of that survey last year. They are the primary focus of the Go team right
94.
▲
by
yahyaheee
7y ago
O here we go with more canned Go insults. It's actually written by a bunch of old guys that have seen the evolution of programming and made the design for very specific reasons that you apparently can't understand. Error handling
95.
▲
by
yahyaheee
7y ago
and thats fine in an academic setting, but please don't bring that into the real world unless you have a really good use case.
96.
▲
by
yahyaheee
7y ago
Scalas insane generic type system would be an example of them going wrong. The current proposed Go method seems fairly reasonable.
97.
▲
by
yahyaheee
7y ago
Rust has a pretty great community, and I don't think you need corporate backing for a community. I'm just stressing it's one of the most (if not the most) important aspects of a language. I will say Rust it isn't nearly
98.
▲
by
yahyaheee
7y ago
They are just against features with a high cost to the community, generics are pricey as they can go quite wrong. They are now entertaining ways of adding them while limiting their downsides.
99.
▲
by
yahyaheee
7y ago
eh, there is still a cost to it, don't get me wrong I generally think generics are worth the cost if done right, but they can also go really wrong
100.
▲
by
yahyaheee
7y ago
Scala is dead for anything that isn't academic. They didn't listen to their customers and ultimately burnt them. Every company I know that was using Scala is running pretty much running any other direction now. It was an interesti
101.
▲
by
yahyaheee
7y ago
Its actually not designed to meet Googles requirements, that just something people who don't know Go say. They have a survey they put out every year and take feedback from customers on issues that arise. They try and fix those issues w
102.
▲
by
yahyaheee
7y ago
Sorry those just aren't legitimate analogies. As I mention before every feature has a cost, Go is highly concerned with how those costs impact the community. In doing so they have created a language thats highly maintainable and effici
103.
▲
by
yahyaheee
7y ago
Sure there are use cases for Scala, they are just few and far between nowadays. If your looking to experiment with crazy functional stuff have fun, just don't write actual software in it, which was unfortunately the outcome, and a bunc
104.
▲
by
yahyaheee
7y ago
Marketing and they understand how to build communities, this is actually the most important thing. TF isn't a great product so thats showing through now, Go and K8s are and you don't see the backtick there.
105.
▲
by
yahyaheee
7y ago
haha yup, Go actually understands its community, Scala is more concerned with doing really "smart" stuff
106.
▲
by
yahyaheee
7y ago
Except they have all stuck with those languages, Scala was a disaster to maintain which is why you see companies fleeing from it.
107.
▲
by
yahyaheee
7y ago
proof is in the pudding on that one, sorry don't think there are academics studying this but it's an obvious outcome from the war that was Go/Scala/Node. Go is eating Scalas lunch because its easy to understand and commu
108.
▲
by
yahyaheee
7y ago
They look at how their software is being used and the problems people are encountering using it and then decide what is the best path. To roughly quote Rob Pike 'every feature is useful, but they all have a cost, and its about weighing
109.
▲
by
yahyaheee
7y ago
no it just implies the don't willy nilly throw in any feature into the language like Scala, and I am incredibly grateful for it after writing Scala for a couple years, what a mess
110.
▲
by
yahyaheee
7y ago
Yup being easy to understand without lacking functionality is definitely superior to supporting every insane programming concept. It builds stronger communities and better software
111.
▲
by
yahyaheee
7y ago
Used to write scala, what a mess looking back on it now. Everyone I know that was writing it is now writing Go/Kotlin/Elixer
112.
▲
by
yahyaheee
7y ago
That would be missing the point of Go. It’s not as though the Go team is incapable of introducing genetics they just took a hard line on not putting anything into the language that wasn’t absolutely needed. This built a simpler language and
113.
▲
by
yahyaheee
7y ago
Had this been an isolated incident, I would maybe have been on googles side here, but this is happening in the context of many other anti-union efforts by management
114.
▲
by
yahyaheee
7y ago
Your employer is also a huge POS for doing this, if you know people with pull in the OSS community or software community in general you could threaten to make a stink over it. This is terrible behavior on their part.
115.
▲
by
yahyaheee
7y ago
From the creator of TDD on why TDD doesn’t work in many highly innovative environments https://softwareengineeringdaily.com/2019/08/28/facebook-eng...
116.
▲
by
yahyaheee
7y ago
Yea devs that use postman crack me up, in my experience you usually just aren’t writing tests
117.
▲
by
yahyaheee
7y ago
That’s possible, in the early days of Go I guess they spent a lot of time trying to optimize the compiler with googles ML teams
118.
▲
by
yahyaheee
7y ago
Exactly, I think the article is a bit self centered and overlooks this concept
119.
▲
by
yahyaheee
7y ago
This is interesting and I feel like it’s somewhat on the right path but may not go far enough. I think the right solution is actually a new protocol
120.
▲
by
yahyaheee
7y ago
Here’s the answer I was looking for, in general I think the HN crowd is too reductionist to begin to understand these concepts. Most of them are seeeking intellectual validation or safety. Really open your mind up and these concepts are inc
More ›