Stephan van Hulst wrote:Or even
As a follow-up, do you think that the introduction of Functional Programming (FP) constructs to Java makes it even more difficult to learn/teach how to write good Java code? Which of Java's new(er) FP features do you find yourself talking about the most so that people can use them more effectively and still be able to apply OO thinking/design and FP thinking/design properly?
Stephan van Hulst wrote:Or even:
Rob Spoor wrote:I would have made the MessageProvider an argument to the render method instead of requiring MessageRenderer to cache it. You forget to call the setter, and you're greeted (pun intended) with runtime exceptions.
Joshua Bloch wrote:I do NOT believe that "procedural thinking" is antithetical to object-oriented programming. I believe it's a necessary part.
fred rosenberger wrote:I think all that's wrong. We shouldn't start by teaching control structures OR object. We should start by teaching them how to analyze a problem, and think about what's needed.