News for hackers. Stuff that matters.
Re:Show HN: Analytics.js – The analytics API you've always w... by dylanvee on Wednesday December 12, 2012 @05:26PM (#4912800)
function(i, s, o, g, r, a, m) {...}

How clever of them.

Re:Show HN: Analytics.js – The analytics API you've always w... by riffraff on Wednesday December 12, 2012 @08:05PM (#4913545)
fwiw, I was actually annoyed that the function does not take that many arguments, if I am not missing something.
Re:Show HN: Analytics.js – The analytics API you've always w... by tach on Wednesday December 12, 2012 @11:05PM (#4914078)
The extra arguments are used as identifiers within the function. It's a common trick to save a few bytes since you get function scoped vars without needing the "var" keyword.
Re:Show HN: Analytics.js – The analytics API you've always w... by riffraff on Thursday December 13, 2012 @05:03AM (#4915126)
yes but it's not needed in this case, they could have reused existing variables and since clarity is not a goal (given e.g. "s=document") it wouldn't be an issue.