October 2011 Archives

Perl Trolls

Perl is from the days of usenet. I have no experience of usenet, but I understand that the troll phenomenon originated there.

From the comments on Perl tutorials suck, one can clearly identify the trolls there.

I don't know whether the advice "Don't feed the trolls" is the best one or not. But I find the _repeated_ occurrence of replying to…

RIP John McCarthy

What a sad month.

I often forget how young the field of computing is. Computers are everywhere and it is difficult to imagine a world without them.

Computers, embedded in robotic machinery or general are so darn useful.

X They replace the calendar with a more lively one.
X They help you communicate and make new friends.
X They take down all your notes.
X They help the shopkeeper with his inventory.
X They help the doctors, take rea…

Subtle advantage of @_ ?

It eliminates method polymorphism.
Makes it simple for over-riding inherited method, as there is only one method.
Now that makes Liskov Substituion simpler to implement.

On "Communities" In General and Modern::Perl

Ever since I read this piece and more on evolutionary biology, ideas have been flipping in my mind.

This is more of a private hypothesis and I think it might be useful to perl community on how it sees itself from a long time lurker's perspective. I am not a good sample point though :)

This post has nothing to do with sexual selection. It's more about how communities are formed and how they sustain in a changing world.

Each and every programming language/Operating Syst…

On the object metaphor

The field of computation has many many metaphors. Objects is one of them.

To be honest, I don't really understand object oriented programming. I understand procedural programming aka C.

Procedural programming is like treating your computer as a dumb assistant. You tell it _what to do_ in the exact order(program/script).

Recently I began thinking about OOP in terms of how it can expand the dumb assistant metaphor. So this post is an exercise of trying to articulate it albeit, poorly.

In the real world, objects are dumb things. They sit around and do nothing. It …

RIP dmr :(

feeling:
		NULL;

my @arrays_hurt;

calling'all &{*pointers};

print "out loud";
"he is dead";

segfault::the::airplanes;
void_the_system;
&mourn;

"entropy sucks";

is a type system a hindrance to programming creatively ?

Just thinking out aloud, for the sake of clarity.

Consider music improvisation. Should a musician stop and restart because one tune was a bit off ?

(I am not talking about reproducing mozart here but improvisation i.e, coming up with new tunes, maybe even a mozart remix)

I think not.

Programming languages without type systems don't complain much. This makes it easier to program despite the obvious errors. This makes it easy to _improvise_ algorithms.

Most improvised music can sound pretty _dirty_. This is why, after an improvisation session , wh…

How I learnt Perl despite the bad press

By bad press I mean, "Perl is an unreadable language ... you should not use it"

I use perl for sys admin stuff and prototyping some pretty lame ideas.

some observations
For the beginners, perl on the tubes has two presses

  1. perl is difficult to learn because of all the "rules", "different contexts", edge cases along with the above bad press
  2. perl is easy to pick up because with a minimum amount of concepts you can write successful programs

And some pretty ="http://stackoverflow.com/questions/3…

About [deleted]

user-pic I blog about Perl.