mirror of
https://github.com/cupcakearmy/advent-of-code.git
synced 2025-09-02 21:30:40 +00:00
move to 2020 fodler
This commit is contained in:
15
2020/learning/Go.md
Normal file
15
2020/learning/Go.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Go Learning
|
||||
|
||||
So this will be my first time at writing some go.
|
||||
Please excuse me for the ranting 😅
|
||||
|
||||
## WTFs
|
||||
|
||||
- Why is there no bitwise OR for bools?! Please what? XOR == `a != b`, but still...
|
||||
- `math.Max()` only works with floats. Of course.
|
||||
- so apparently we don't have optional parameters and defaults. Lol
|
||||
- go has maps, but no native way of getting keys or values without a loop
|
||||
|
||||
## Syntax
|
||||
|
||||
- we constantly need to write `:=` which is annoying as hell
|
Reference in New Issue
Block a user