News for hackers. Stuff that matters.
Re:Why does Google append while(1); in front of their JSON r... by seag on Monday February 04, 2013 @08:41PM (#5168508)
You don't append in front, you prepend
Re:Why does Google append while(1); in front of their JSON r... by knowtheory on Monday February 04, 2013 @08:53PM (#5168560)
I'm a bit perplex why you've chosen to pedantize this particular word choice since "prepend" itself is a portmanteau derived by mashing "pre" and "append" together.

Perhaps the trio of "affix", "prefix" and "suffix" might be more useful, since there is no "postpend" or "suppend" to accompany "append" and "prepend".

Regardless, the Google ngram chart of these various words is pretty interesting: http://books.google.com/ngrams/graph?content=prepend%2Cappen...

Re:Why does Google append while(1); in front of their JSON r... by bradleyjg on Monday February 04, 2013 @09:25PM (#5168663)
Re:Why does Google append while(1); in front of their JSON r... by caipre on Tuesday February 05, 2013 @02:43PM (#5172779)
I had no idea 'prepend' was used so infrequently.
Re:Why does Google append while(1); in front of their JSON r... by jacquesm on Monday February 04, 2013 @08:48PM (#5168539)
Why does Google append their JSON responses to while(1); ?
Re:Why does Google append while(1); in front of their JSON r... by comex on Monday February 04, 2013 @10:08PM (#5168787)
That carries the implication "why not simply return 'while(1)'?".
Re:Why does Google append while(1); in front of their JSON r... by rmc on Tuesday February 05, 2013 @04:34AM (#5169894)
No, you prefix.
Re:Why does Google append while(1); in front of their JSON r... by matthuggins on Tuesday February 05, 2013 @12:16PM (#5171807)
Don't call seag a prefix. :(
Re:Why does Google append while(1); in front of their JSON r... by zem on Tuesday February 05, 2013 @03:49AM (#5169789)
and what do you see as the difference between appending in front and prepending?
Re:Why does Google append while(1); in front of their JSON r... by jeremysmyth on Tuesday February 05, 2013 @04:21AM (#5169867)
Nothing, if you're prepared to say you can pop something onto a stack and push it off.
Re:Why does Google append while(1); in front of their JSON r... by zem on Tuesday February 05, 2013 @05:07PM (#5173599)
what about a deque? the push-pop/shift-unshift distinction is unnecessarily confusing when something doesn't have stack semantics.