A sign of what's wrong with software patents

| 0 Comments

The federal government should fine IBM out the ass for a patent application this ridiculously obvious. It's just a waste of the US Patent Office's limited resources to even use the application for bird cage liner. Here, I'll infringe it:

use strict;

my $ssn1 = '123456789';
my $ssn2 = '123-45-6789';

if ($ssn1 =~ /[\d]{9}/ or
    $ssn1 =~ /[\d]{3}-[\d]{2}-[\d]{4}/)
{
    print "SSN1 is Valid.\n";
}

if ($ssn2 =~ /[\d]{9}/ or
    $ssn2 =~ /[\d]{3}-[\d]{2}-[\d]{4}/)
{
    print "SSN2 is Valid.\n";
}

As I said, it's ridiculous. Took me no time to "infringe on their intellectual property." If this passes, it'll just be used as a cudgel for IBM to beat up a smaller rival who will have to waste valuable capital proving that any programmer with a half page cheat sheet on regular expressions could violate IBM's "right" to this "innovation" in under a few minutes even if they'd never seen a regex before.

Leave a comment

March 2010

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Recent Entries

A window into the totalitarian mind of the left on freedom of religion
From Digg: Me: I'm not going to hold my breath waiting for the same liberal democrats who shriek about the…
Google's lossy compiler
Google's closure compiler service gets a little too frisky under ADVANCED_OPTIMIZATIONS. Original code: With advanced optimizations enabled, it was able…
The three purposes of the federal income tax law
Businesses will spend about 3.4 billion man-hours and individuals about 1.7 billion hours figuring out their taxes this year.…

Subscribe

Advertisements

OpenID accepted here Learn more about OpenID