Anand Hariharan wrote:To a beginner to programming, would you really teach exception handling and KeyError in dictionary access, before you teach if statement?
Anand Hariharan wrote:
Logan Cherry wrote:(Hint: You may NOT USE any 'if' statements.)
I find that rather silly as a requirement and bizarre as a "Hint".
Stephan van Hulst wrote:Why does your business code double as step definitions?
mike lim wrote:why does Java have to configure your router/firewall..
Stephan van Hulst wrote:
By the way, what's the point of keeping your request and response as instance fields? Just use local variables as I've shown above.
Tim Holloway wrote:That 1..n simply indicates a one-to-many relationship. And "n" can be zero in a case where your cart is empty.
Campbell Ritchie wrote:1....n does occur. It means you can't have an order without a customer ordering it.