first previous random next last
41: if(is_visible(code)) { productive = true }
first previous random next last

blog
February 1st, 2012 - 2:59am
Dave says... I'm guessing that everybody who's ever written code for any significant amount of time has done this.  At this point I just do it by force of habit.  Bonus points if the code is green text on a black screen.  That's really scary!

The code used for this comic is actually part of a snippit of Python I wrote to pull all the categories from Yahoo! Answers (as part of a project for work).  I couldn't find any good Yahoo! API for this so if anybody else needs this for any reason I put the script up on my Github account: YA Category Scraper.

Also! You may notice that the beer I'm drinking is the beer I just finished brewing (you can see the label here.) It's finally done and it's really cool to drink beer that you brewed yourself!

Finally, if anybody is going to try to point out some error with the code in the title, let's just say its pseudo-code because I'm not sure what language I was thinking of when I wrote it.
- Dave

comments
Share this comic!


Let's Be Internet Friends!

       
twitter bird
Follow Mount Saint Awesome on Twitter: @mountstawesome
You can also follow me on Twitter, if you want: @dorkrawk

Honestly, You Should Probably Be Reading These Comics, Too:

Penny Aracde   Liz Prince   Questionable Content   xkcd   Toothpaste For Dinner   Saturday Morning Breakfast Cereal   Dinosaur Comics   Diesel Sweeties   F Chords   Piled Higher & Deeper   Fart Party   Nothing Nice To Say   Amazing Super Powers   Octopus Pie   MercWorks   Doctor Cat   I Am Arg   21 Dead Monkeys   Channel Ate   Loading Artist   Paperclip Crusades