Viewing profile — vlads_
vlads_
HN member- Joined
- Sat, Jan 26, 2019, 10:57 AM UTC
- HN karma
- 33
- Public activity
- 15 items
- HN profile
- View on Hacker News ↗
About vlads_
No profile information was provided.
Recent public activity
-
comment
Comment #23555779
> 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 d…
- comment
-
comment
Comment #23551366
> 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 dif…
-
comment
Comment #23549428
This is pretty much correct, except for 2 minor gripes: Firstly, Go was meant to replace C++ in server-land. The fact that it ended up being a suitable alternative for Java/Python …
-
comment
Comment #23548698
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,…
-
comment
Comment #23548525
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 functio…
-
comment
Comment #23544757
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…
-
comment
Comment #23544484
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 wh…
-
comment
Comment #23543940
Well, you can :) https://play.golang.org/p/sum21uSy1Ae
-
comment
Comment #23537474
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…
-
comment
Comment #23531560
And the vast majority of policemen are not beating people up.
-
comment
Comment #23531548
> 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 an…
-
comment
Comment #23529041
> 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 entirel…
-
comment
Comment #23528701
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 co…
-
comment
Comment #23528610
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…