We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2ef08 commit eced134Copy full SHA for eced134
search-in-rotated-sorted-array/invidam.go.md
@@ -63,4 +63,12 @@ func search(nums []int, target int) int {
63
64
}
65
66
-```
+```
67
+# I learned
68
+`whitespace around operator`(연산자 근처에서 공백 사용)에 대한 golang의 해석이 일반적인 언어들과 다른 걸 알게되었다.
69
+- 일반언어: `lo + 1 < hi`
70
+- GoLang: `lo+1 < hi`
71
+
72
+즉, 모든 연산자 근처에 공백을 추가하는 것이 아니라 낮은 우선순위의 연산자에 대해서만 추가한다.
73
74
+참고: https://news.ycombinator.com/item?id=10796427
0 commit comments