News for hackers. Stuff that matters.
Re:What is the most intrusive wart on your favourite program... by silentbicycle on Monday December 08, 2008 @08:06PM (#390720)
There's not any reason you need objects for that, though. Python's join in the string module is called as join(list [,sep])*, and you could say

  def br(sl):
      return string.join(sl, "<br>")
or

  br = lambda sl: string.join(sl, "<br>")
for the same effect. It's actually due to first-class functions.

There are no comments on this comment yet.