About Cosense
Help
Log in
🍣YuWd(和田唯我)のメモ🍣
G
o
l
a
n
g
Related
Sort by
Related
Modified
Created
Last visited
Most linked
Page rank
Title
Links
About Me (Yuiga Wada, YuWd, 和田唯我)
Golang: appendの挙動
#golang`s := append(str[:j], hoge...)``s = append(s, str[j:]...)`こういうコードでバグるときがあるそもそも`append`とはどういうものか?
scrapboxのcli-viewer作った
なぜerrnoが必要か
#C例えば`fopen`など, そもそも構造体やポインタを返すようなものだと, エラーハンドリングがしにくいじゃあ常にタプルっぽく返せばいいんじゃない?エラーハンドリングが必要ない場合, 普通のCだと非常に煩雑になり得るメモリの解放とかめんどいし
goroutineはなぜ軽量?
Goと例外処理
#GolangGoにはtry-catchがないなぜか?> First, there is nothing truly exceptional about errors in computer programs. For instance, the inability to open a file is a common issue that does not deserve special linguistic constructs; if and
Created
a few seconds ago
by
YuWd
Updated
a few seconds ago
by
YuWd
Views: 1
Page rank: 0
Copy link
Copy readable link
Golang