Append is not a method of the type slice, it is a function that returns a slice. What I read is people writing
a := make([]int,2,2)
b := a
a = f()
And then "mommyyyy a is not equal to b anymoreeeee".
Just sayin...
147 karma · joined November 8, 2014
Append is not a method of the type slice, it is a function that returns a slice. What I read is people writing
a := make([]int,2,2)
b := a
a = f()
And then "mommyyyy a is not equal to b anymoreeeee".
Just sayin...
Why are all the Java fans psyched by these results?
Is it my decision of buying a smartphone or the host country's lack of will to make laws to protect its citizens and environment? Hmmm I wonder what makes more sense...
From that point of view, when the array is large enough, the particular technology you adopt has only minor influence on the access time.
With the high resolution screens available today these make for stunning graphical presentation.
Unless I'm not understanding the use case, if this is a persistent object cache, defining an interface on each type you want to store sounds like a lot of overhead...
Why not implementing a persistent LRU cache map instead?
http://en.wikipedia.org/wiki/List_of_top_United_States_paten...
I dread the day Amazon will start running significant profits...
This brings to a whole new level the meaning of "alienated".