[FRPythoneers] With statement
brunson at level3.net
Thu Aug 8 14:31:53 MDT 2002
I've only worked with one language that had that feature and I don't
remember what it was. I never found it to be a useful feature, but
that's just me.
* Bob Gailer (ramrom at earthling.net) [020808 14:23]:
> The OOP languages I've worked with before Python have a WITH statement. I
> am wondering why Python is missing this (IMHO) useful construct.
> self.foo1 = 'a'
> self.foo2 = 'b'
> self.foo3 = 'c'
> Could be "simplified" using WITH:
> with self:
> .foo1 = 'a'
> .foo2 = 'b'
> .foo3 = 'c'
> Bob Gailer
> mailto:ramrom at earthling.net
> 303 442 2625
Eric Brunson brunson at level3 dot net
tcA thgirypoC muinelliM latigiD eht detaloiv tsuj evah uoY
More information about the FRPythoneers