“Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.” — Brian Kernighan
Always dream of writing a simple implementation of an HTTP protocol.
ncat -lkp 8080 --sh-exec 'echo "HTTP/1.0 200 OK\r\n\r\nThe date is: \c"; date "+%Y.%m.%d %H:%M:%S";'
So how short or how long variable length should be?
The basic rule: the further from its declaration that a name is used, the more descriptive the name must be.
“What language do you think Go is trying to displace?
I don’t think of Go that way. We were writing C++ code before we did Go, so we definitely wanted not to write C++ code anymore.”
!!!!!!! we definitely wanted not to write C++ code anymore !!!!!!!
To use the native C++
stdout << custom_typed_val they’ve broke the CORE IDEA of hierarchical classes (compare with symlinks into tree FS). Overload ‘operation <<' with friends.
In Go –
type Stringer interface: strict with the core Go language concepts.
The conveyance of intent is an essential aspect of human to human communication, and is not yet realized in most human to computer communication.
Look for some text inside the installed port:
for f in `port contents groff`; do if [ -f $f ]; then zgrep -nHe latin1 $f; fi; done
Concurrency goal is a GOOD STRUCTURE.
Channels in GO are the first class values. In Erlang they are not.
Lots relations to 1978 Communicating Sequential Processes Hoare paper.