1,454 karma · joined October 14, 2010
Gates was directly responsible for imposing strategy tax during his time at Microsoft.
The term has been used inside Microsoft since the 1990s (and maybe before that time).
Microsoft evangelized the combination of DHTML, Javascript and ActiveX data controls to build applications similar to what we now call AJAX. Microsoft was ignored for various reasons.
Microsoft introduced XMLHttpRequest and evangelized DHTML, Javascript and XMLHttpRequest. They were ignored again.
It was not until the introduction of Gmail and Adaptive Path's coining of the term AJAX that people finally got it. By this time, Microsoft had already put IE on the back burner.
Also, GitHub does not include the meta tag on all pages where 'go get' would expect to find the meta tag. For example, the tag is not on the page https://github.com/golang/lint/golint?go-get=1.
A list with no curation: http://godoc.org/-/index
The Java approach for standard packages is nearly identical to what's proposed for Go. Anything in the com.sun. (or whatever they call it now) namespace is considered internal, even though it's publically accessible.
value, err := redis.Integer(client.Do("GET", "mykey"))
sets the int variable "value" to the decimal integer stored in "mykey". The variable err is set to a non-nil value if the value cannot be parsed as a decimal integer, the key is missing, the key is not a redis string, the connection is broken or any other error.This method of error handling is convenient because the application only needs to check for one error. The alternative is to do something like:
v, err := client.Do("GET", "mykey")
if err != nil {
// handle command error
}
p, ok := v.(string)
if !ok {
// handle error where p is not a redis string
}
i, err := strconv.ParseInt(string(p))
if err != nil {
// handle parse error
}
There is no trap. If the connection to the server is healthy and the value stored for "mykey" is a decimal encoded integer, then redis.Integer(client.Do("GET", "mykey")) returns that integer. type bytesHandler []byte
The code func (h bytesHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
w.Write(h)
}
is a method declaration for the type bytesHandler. The (h bytesHandler) specifies id and type of the method receiver.