> Sure, the former are language features while the latter are library features but that doesn't seem to be a meaningful difference when it comes to comprehension. Absolutely. The difference is that Go has a limited…
> So while Go may be quick to write. I think the understandably is deceiving. Yes, I can understand every line, but understanding the program/patch as a whole becomes much more difficult because of the lack of…
I'm going to be a smartass about this and say I think neither of you are wrong. The "extra typing" gives you a large boost in your confidence that you've written something correct, without necessarily boosting the…
First of all, interfaces are not nil if they point to a nil value for the same reason a * * T is not nil if the * T is nil. That is the correct decision. You can not call a function on a nil interface, but you can call…
Never said it was a good idea. It's inefficient, unsafe and hard to read but, as far as I can tell any generic function with concrete return types can be written using reflect (and any generic function with generic…
Fun fact: because json is a reflective package in Go, solving your problem is quite trivial: https://play.golang.org/p/-TZ5b9Su1or . As for programming with types, that's partly what Go was trying to avoid:…
I can't access the link because it's paywalled, but I assume you're talking about this clip: https://youtu.be/kGsqg5vtahA . EDIT: Found the free button :). Yeah, I guessed right. I can't see how you can classify this as…
And the vast majority of policemen are not beating people up.
> If, for example, the punishment for certain crimes is so high by default that the criminal would rather die than get a sentence that would equal death, then you have taken any and all motivation from that criminal to…
> The crowd has been otherwise quite peaceful exercising their first amendment right. Not going to lie, this actually made me laugh[1]. Other than that, you missed my point entirely. When a policeman calmly explains to…
You claim that law enforcement culture differs in the countries which you are comparing and that is indeed true. But is the crime culture the same? Or is that not a factor worth considering?
I've watched 30 clips. ALL of them were 30 second clips with no context. All of them from one Twitter thread as well, so not sure why that was not linked instead. On the other hand, all of the instances of so-called…
> Sure, the former are language features while the latter are library features but that doesn't seem to be a meaningful difference when it comes to comprehension. Absolutely. The difference is that Go has a limited…
> So while Go may be quick to write. I think the understandably is deceiving. Yes, I can understand every line, but understanding the program/patch as a whole becomes much more difficult because of the lack of…
I'm going to be a smartass about this and say I think neither of you are wrong. The "extra typing" gives you a large boost in your confidence that you've written something correct, without necessarily boosting the…
First of all, interfaces are not nil if they point to a nil value for the same reason a * * T is not nil if the * T is nil. That is the correct decision. You can not call a function on a nil interface, but you can call…
Never said it was a good idea. It's inefficient, unsafe and hard to read but, as far as I can tell any generic function with concrete return types can be written using reflect (and any generic function with generic…
Fun fact: because json is a reflective package in Go, solving your problem is quite trivial: https://play.golang.org/p/-TZ5b9Su1or . As for programming with types, that's partly what Go was trying to avoid:…
I can't access the link because it's paywalled, but I assume you're talking about this clip: https://youtu.be/kGsqg5vtahA . EDIT: Found the free button :). Yeah, I guessed right. I can't see how you can classify this as…
And the vast majority of policemen are not beating people up.
> If, for example, the punishment for certain crimes is so high by default that the criminal would rather die than get a sentence that would equal death, then you have taken any and all motivation from that criminal to…
> The crowd has been otherwise quite peaceful exercising their first amendment right. Not going to lie, this actually made me laugh[1]. Other than that, you missed my point entirely. When a policeman calmly explains to…
You claim that law enforcement culture differs in the countries which you are comparing and that is indeed true. But is the crime culture the same? Or is that not a factor worth considering?
I've watched 30 clips. ALL of them were 30 second clips with no context. All of them from one Twitter thread as well, so not sure why that was not linked instead. On the other hand, all of the instances of so-called…