Google Blogoscoped

Forum

Cursing in YouTube Player Source Code  (View post)

Dylan Bennett [PersonRank 1]

Thursday, June 14, 2007
7 years ago2,950 views

From reading the article, it looks like only the first two comments were actually in the YouTube code.

He says... "These are some example debug statements I have lifted from real code that should not have been there:" The way he words it implies the rest are from other code he has run across.

Ludwik Trammer [PersonRank 10]

7 years ago #

Are you sure that all those statements are from YouTube player? Your understanding of English is much better than mine, but I thought only "we got meta fuck yeah" and "showing the goddamn play button" are from the player, and that than Chad gave some examples from his previous experience, from coders that he worked with "who put in quick debug statements like these and do so with good intentions to remove them later, but they never do". I believe this post was as much about the player as the practice itself – he "has been meaning to blog about for a while".

Philipp Lenssen [PersonRank 10]

7 years ago #

Thanks Dylan & Ludwik, fixed!

Ludwik Trammer [PersonRank 10]

7 years ago #

(sorry, when I wrote above post Dylan's post wasn't yet there)

Tadeusz Szewczyk [PersonRank 10]

7 years ago #

Hell yeah! ****** great ****!

mak [PersonRank 5]

7 years ago #

Actually, reading code *inside* flash (SWF) files is quite easy using what's known as "swf decompilers".

Omitting trace actions and not including variable names when tracing is only necessary to hide them from trace catchers, like the Firefox extension.

Eric Cranston [PersonRank 3]

7 years ago #

I try not to curse in my code comments...but it's hard sometimes...

This thread is locked as it's old... but you can create a new thread in the forum. 

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!