Hello, Guest | Login | Register

Krugle Code Search Stats or How to Write a Press Release

Just how… creative is your code?

Community Tools
Recommend This [?]
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Users Who Liked This [?]
No one yet. Be the first.
Tag This!

The press release feed on LinuxMagazine.com occasionally turns up some gems — as far as headlines go — that can’t help but catch your eye. This morning, I had a tough time missing this: Britney Spears Beats Out Paris Hilton in Open Source Code Popularity (Although Neither Holds Candle to Satan)

My first thought was that this was probably the most well written piece of PR spam I’d ever. It’s something of an OSS, , and occult cocktail. Knowing this audience the only way the headline could have possibly been better is if they had worked in a quote from Robert Downey Jr. as Tony Stark. I fully expected to see a Viagra ad when I clicked on this, but it turns out to be a real release.

The press release is from Krugle, who’s enterprise product allows companies to turn “code and related development assets into a searchable, shareable asset.” In the release they, “thought [they would] have some fun and look to see what Java terms are searched for the most and how often open source developers include celebrity names in their code.” Not to spoil the surprise but Kunth came in first, with Satan right behind (playing second fiddle after one God or another seems to be his lot in life).

The problems that Krugle, as company, are addressing — access to code, code quality, and making sense of the reams and reams of open source software available — are something that seems to be minds of vendors and tech department managers more and more these days. Just recently we’ve seen the launch of the Google Ajax source code browser as well as a web-based port of Guido Van Rossum’s Python code review tool, Mondrian1.

In looking at some of these tools you get a sense that they are responding to the notion that no formal process for programming really exists. I suppose it could be because of that lack of process that Krugle is able to drop a press release on wacky variable names.

I got to thinking about the code I write — and I do write a quite a bit — and for whatever reason I don’t really do anything quite as colorful as Krugle was able to pull from their search results. No celebrity variable names, no Klingon function calls. Other than a dash of profanity in the comments — ala // TODO: Fix this ******* thing! — the code I write is remarkably bland. About as entertaining as it gets are my absurdly long, descriptive function names.

What about you? Do you find yourself tempted to write light_side() and dark_side() functions? Do your BruceWayne classes have is_batman() bools? Or does this sort of thing leave a bad taste in your mouth? Have examples? Wrap it in <code> tags when you post a comment.

1One wonders how Mondrian would take to multiple occurrences of ParisHilton (or $ParisHilton, for the PHP developers in the audience) popping in and out of a codebase like a club-hopping debutante.

Bryan Richard is a writer and software developer, avid runner, pretty good cook, and has a habit of buying more books than he can read. He's also the VP of Editorial and Infrastructure for linuxdlsazine. Want to get in touch? Send him an email.

Read More
  1. Combining Flexibility and Control: A New Model for OS/Platform Management
  2. Multiplying Virtualization Value by the Full Power of Enterprise Storage with Citrix StorageLink
  3. Combining Flexibility with Control: Managing the "Complexity Hell" of Customized Linux Platforms
  4. A Process-based Approach to Protecting Privileged Accounts and Meeting Regulatory Compliance
  5. A Better Back Up, to Get You Back Up Fast
Follow linuxdlsazine