[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Py[h]hon syntax (sic)
- Subject: [ale] Py[h]hon syntax (sic)
- From: cfowler at outpostsentinel.com (Christopher Fowler)
- Date: Fri Jan 28 10:26:12 2005
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Fri, 2005-01-28 at 10:14, Michael Hirsch wrote:
> No real comments, just a relevant question to the pythonistas out there.
> I notice in this code that there are accessor methods for all the
> variables. This is technically unnecessary since python doesn't have
> private fields like java or C++. However, perhaps it is good style--in
> Java it would be. So, my question is whether this is the preferred way
> to expose fields, or is it considered okay to just access the fields
> directly?
>
That totally sucks.