3 ms·
I'm not sure I see the "another problem" you're referring to. Can you describe the problem with the new implementation of doSomething()? Also, I don't think t
by peeters 14y ago
I'm not sure I see the "another problem" you're referring to. Can you describe the problem with the new implementation of doSomething()?
Also, I don't think the original problem was the same values being used all over the place. The problem is how to be clear about which parameters you're providing, and accepting static types and giving the type a simple way of constructing it solves that.
- jlgreco 14y agoThe other problem is that int zip = zip.zip; is just silly, even by Java's standards.