Add go map note; tweak complex UL styles
This commit is contained in:
@@ -126,6 +126,10 @@ I find [Go][1] really compelling, even though it's not super applicable to my jo
|
|||||||
|
|
||||||
> A two-value assignment tests for the existence of a key: `i, ok := m["route"]`
|
> A two-value assignment tests for the existence of a key: `i, ok := m["route"]`
|
||||||
|
|
||||||
|
* [Insertion order has no effect on the order keys/values are retrieved in a `range` query][21]
|
||||||
|
|
||||||
|
> The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next.
|
||||||
|
|
||||||
* First-class functions
|
* First-class functions
|
||||||
* Go supports first-class functions (functions as arguments and return values of other functions)
|
* Go supports first-class functions (functions as arguments and return values of other functions)
|
||||||
* Go has closures (so variables defined inside a function that returns a function get closed over)
|
* Go has closures (so variables defined inside a function that returns a function get closed over)
|
||||||
@@ -144,3 +148,4 @@ I find [Go][1] really compelling, even though it's not super applicable to my jo
|
|||||||
[18]: https://go.dev/doc/effective_go#named-results
|
[18]: https://go.dev/doc/effective_go#named-results
|
||||||
[19]: https://exercism.org/tracks/go/concepts/errors
|
[19]: https://exercism.org/tracks/go/concepts/errors
|
||||||
[20]: https://go.dev/blog/maps
|
[20]: https://go.dev/blog/maps
|
||||||
|
[21]: https://go.dev/ref/spec#RangeClause
|
||||||
|
|||||||
@@ -46,6 +46,16 @@ ul {
|
|||||||
text-indent: -2ch;
|
text-indent: -2ch;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
p:first-child {
|
||||||
|
text-indent: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
text-indent: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -54,7 +64,6 @@ ol {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
border-left: 1ch solid #ddd;
|
border-left: 1ch solid #ddd;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|||||||
Reference in New Issue
Block a user