[Python-Dev] reducing self.x=x; self.y=y; self.z=z boilerplate code (original) (raw)
Anthony Baxter anthony at interlink.com.au
Sat Jul 2 07:15:41 CEST 2005
- Previous message: [Python-Dev] reducing self.x=x; self.y=y; self.z=z boilerplate code
- Next message: [Python-Dev] reducing self.x=x; self.y=y; self.z=z boilerplate code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Saturday 02 July 2005 08:59, Ralf W. Grosse-Kunstleve wrote:
I hate it, and every time I show this to a Python newcomer I get that skeptic look. How about this for a change?
class grouping: def init(self, .x, .y, .z): pass
-1. Syntax should not look like grit on my monitor.
Anthony
Anthony Baxter <anthony at interlink.com.au> It's never too late to have a happy childhood.
- Previous message: [Python-Dev] reducing self.x=x; self.y=y; self.z=z boilerplate code
- Next message: [Python-Dev] reducing self.x=x; self.y=y; self.z=z boilerplate code
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]