diff options
Diffstat (limited to 'daily/18-May-2025.md')
-rw-r--r-- | daily/18-May-2025.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/daily/18-May-2025.md b/daily/18-May-2025.md deleted file mode 100644 index 2ef64b9..0000000 --- a/daily/18-May-2025.md +++ /dev/null @@ -1,12 +0,0 @@ -Some programming problems or programs to make for practicing: -- Echo stdin -- Find duplicate lines on stdin or files passed as arguments. Operating on a stream, or slurp all input and do it at once. - -# Further notes on Go -Order of map iteration is unspecified but random in practice to prevent reliance on ordering. -The Scanner type from the bufio package provides an easy way to read input in lines or words. -Map created with `make` is passed by reference. -Package `io/ioutil` exposes `ReadFile` and other io utility functions and types. -Casting works by `type(var)`, e.g `i := 0; string(i)` -Referencing a multi-component package is done through the last component. E.g `ioutil` for the `io/ioutil` package. -Composite literals are the form of `type{...}` they instantiate composite types, so `[]string{"a"}` is also a composite literal.
\ No newline at end of file |