Ok, I was exaggerating when I said you <b>can't</b> teach functional programming with Java. Its just going to be a real bitch to do. I have co-workers who supposedly already have degrees in computer science who can't always be bothered to add private modifiers to their variables, and you're expecting brand new CS students to always remember them? And when they ask why they need to add that identifier and you tell them its so they can't change the value later, you expect them to voluntarily refrain from using that newfound "feature" of variables they can change later? And don't get me started about anonymous inner classes being a replacement for closures or function literals.
My point remains valid, the programming language is an important choice because a clumsy language is going to make certain core skills very difficult to teach. On Jan 2, 10:52 pm, ScottHK <[email protected]> wrote: > This was a great blog on incorporating functional style coding in > Java:http://codemonkeyism.com/generation-java-programming-style/ > > On Jan 1, 4:13 pm, Derek Munneke <[email protected]> wrote: > > > > > > > > > On 1 Jan 2011 17:47, "Ricky Clarkson" <[email protected]> wrote: > > > > > Try teaching functional programming > > > > in straight Java 6, or object oriented programming in Basic. > > > > Oddly enough, I 'discovered' functional programming in straight Java > > > (5 at the time), and object-oriented programming in Basic (Blitz Basic > > > 2). > > > When Odersky taught me Java in '98 he commented on the functional aspects > > ... and that was 1.2 > > > But that was after several years of Fortran, Modula-2, Lisp, and Miranda... > > alot of good that turned out to be ;) -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
