diff options
author | Jasper Ras <jaspert.ras@gmail.com> | 2025-07-15 20:34:14 +0200 |
---|---|---|
committer | Jasper Ras <jaspert.ras@gmail.com> | 2025-07-15 20:34:14 +0200 |
commit | 62483ddbc85da140b36eee2fa6bc43e7093eb3ad (patch) | |
tree | 33550a06020ec71e2777a6241447a40ba98c10ca /daily/18-May-2025.md | |
parent | 04db4c941799bfbfac666160e7b4298716649a7f (diff) | |
parent | a9886bf2f8a35369a2c42070c5f83504dfab2bc5 (diff) |
vault backup: 2025-07-15 20:34:14
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 |