Archive

Posts Tagged ‘programming’

If programming languages were drugs

March 15th, 2009

C – Caffeine
It’s cheap and it’s ubiquitous. It ain’t exactly safe, but at least its effects are predictable, and there’s a general agreement that it’s just the de facto drug of choice.

Assembly – Cocaine
It’s faster than C, but it’s also scary, so not many people are going to do it with you.

Ada – LSD
Ada and LSD were both created by the government in order to punish people (and coincidentally, they were both created for military purposes). You’ll see strange things, but you won’t like ‘em.

Ruby – Ecstacy
It’s what the kids do, it’s colorful, and it makes people happy. However, like ecstacy, the morning after a Ruby hit will leave you forlorn and depressed, as your happiness fades and you realize that Ruby is just another programming language.

Perl – Magic Mushrooms
You’re going to see a lot of things that don’t make a lot of sense, but repeated exposure isn’t going to elucidate anything.

Java – Clove cigarettes
It’s safer, but it’s also not much fun after the first few times.

fun, programming ,

Firebug color coding

February 27th, 2009

Firebug uses different colors to highlight different element attributes (i.e. width, margin and padding), but there is no documentation on the Firebug site that allows you to interpret these colors, so I’ve posted them below.

Firebug color key

  • Blue: Width and height
  • Purple: Padding
  • Yellow: Margin

Uncategorized ,

Fancy programmers are people too

January 15th, 2009

I stumbled across a page that contains extracts from the Netscape 4.x source code, and it is full of raunchy cuss words.

Any programmer will tell you that nobody swears as often or with as bone-chilling a dearth of taboo as a frustrated software developer.

I actually find this realization nice: Even fancy programmers that work on apps like Netscape that we’ve all used are human too!

Here’s a screenshot of some of the entries:

image

My personal favorite:

/* "Object oriented?  Fuck that shit!  Pabst Blue Ribbon!" --Dennis Hopper */

Edit: Another favorite:

/* check if Lou is a pindick */

fun, software ,