sparrowsion: photo of male house sparrow (string-handling kitten)
posted by [personal profile] sparrowsion at 11:04am on 10/06/2011
Just want to strongly second [livejournal.com profile] mobbsy's comment about OOP. It's an ugly, hacked-on afterthought of an extension which fits uneasily with Perl's strong procedural foundations and (almost) everyone else's ideas of how to do objects. It's only there because of the "OOP is shiny and The Way Forward" movement, and too many people wound up drinking the Kool-Aid and writing hideously impenetrable and unusable Perl modules which would have been vastly simpler and cleaner if they hadn't tried to make it object orientated.

People often make the mistake, when moving from Perl to Python, of trying to use regular expressions for all string handling. It's a mistake because regular expressions are an integral part of the Perl language, whereas in Python they're an extension, where they should only be used when they're the right tool. Going the other way, precisely the same is true about object orientation.

October

SunMonTueWedThuFriSat
      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