So you think you know Go?
medium.com
So you think you know Go?
1–5 of 5 posts
Re: So you think you know Go?
#2Re: So you think you know Go?
#3Not sure what the article indents to show, those "surprises" are the expected behaviour of `append` on slices.
Re: So you think you know Go?
#4Not sure what the article indents to show, those "surprises" are the expected behaviour of `append` on slices.
Yeah, this is a pretty bad article and telling the reader to figure out the "surprises" for themselves with no further explanation is just borderline trolling. Seriously, if you don't understand how slices work you shouldn't be claiming to "know Go".
Re: So you think you know Go?
#5Earlier quoted context omitted.
Yeah, this is a pretty bad article and telling the reader to figure out the "surprises" for themselves with no further explanation is just borderline trolling. Seriously, if you don't understand how slices work you shouldn't be claiming to "know Go".
In reality many programmers do not think much about how slices really work and got stuck with many gotchas from the mentioned quizzes.