Yazeed Alorainy
I'm Yazeed, a software engineer in Riyadh. I architect and build systems that seem fast.
You know they say economists know the price of everything and the value of nothing? Well, programmers know the benefits of everything and the trade-offs of nothing.
—Rich Hickey
Pop quiz: what time was it?
go
func main() {
fmt.Println(time.Now())
defer fmt.Println(time.Now())
time.Sleep(10 * time.Second)
}Will the two timestamps be (a) roughly the same, (b) roughly 10 seconds apart, or (c) something else?
Quick start
- Open the terminal: press
Ctrl + ` - Take the quiz: type
go run quiz.go, then answera,borc