Newbie Q: Class Privacy (or lack of)

Ray ray_usenet at yahoo.com
Thu Jul 27 04:56:53 EDT 2006


John Machin wrote:
> Ray wrote:
>
> > The argument against this is that since development with Python is so
> > rapid, you're supposed to always equip your code with extensive unit
> > tests. I like Python but I've never really bought that argument--I
> > guess I've been doing Java too long :)
> >
>
> In Java, if you don't always equip your code with extensive unit tests,
> what sort of testing do you do?

In Java of course we do unit testing as well. It's just that things
like what the OP was asking about has already been caught by the
compiler at this time.

> When do you pick up typo errors that the compiler may not detect, like
> blahblah*12.365 instead of blahblah*12/365 ?

Yeah, I know what you mean. This is not what the OP was referring to,
though.




More information about the Python-list mailing list