Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kskskuejej2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
Procedural Generation in Game Design,co-authered by Tarn Adams of Dwarf Fortress
(crcpress.com)
2 points
by
kskskuejej2
9y ago
|
0 comments
2.
▲
by
kskskuejej2
9y ago
> I don't want to worry about every single exception when I am prototyping for example. You are free to ignore the returned error, so for example to compare with a situation where you would raise an exception in another language ins
3.
▲
by
kskskuejej2
9y ago
And golang knows what type of error can be returned at compile time. type FatalError error func foo() FatalError {}
4.
▲
by
kskskuejej2
9y ago
> Lack of exceptions Go does support multiple return values, commonly (T, error). If you think about it for a while, you will realize a exception is just a type of return value. Regarding generics, the more I used golang, the less I had
5.
▲
by
kskskuejej2
9y ago
Have you tried setting up LFS on your self-hosted ssh git repo? Turns out LFS is designed to authenticate over https and doesn't work at all with ssh credentials out of the box because f* you. I'm still hoping for a native git fea