Thanks, guys! I am not quite convinced, but almost...
About 6 years ago, I attempted to learn Java with a "Teach Yourself" book. I actually had some success, but the system was pretty rough (JDK 1.0.2 on a Mac II), there was no Swing GUI, and most importantly it was difficult develop desktop applications. I then discovered the web, and Never got back to Java (although I made a few half-hearted attempts). I was hoping that CF could provide a simple bridge to learning Java a little-at-a-time-- maybe that's not practical. I will take your suggestions, read the referenced items and see where that leads ms. Dick On Sunday, November 24, 2002, at 09:49 AM, Kwang Suh wrote: > Yeah, what Sean said :) > > Further to this, I can't stress just how *easy* Java syntax is. I > haven't > coded a Java syntax error in about a month - it's getting that simple > for > me. It's everything else about Java that's a PITA. And, there's *no* > way > you can just learn Java syntax and then know, for instance, what an > EJB is > or even *why* someone would even bother to create an EJB. > > I think even Sun realizes just how easy CF is to use - take a look at > JSTL! > Import the taglib with a namespace of "cf" and you've got something > that > even looks like CF! > >> -----Original Message----- >> From: Sean A Corfield [mailto:[EMAIL PROTECTED]] >> Sent: Sunday, November 24, 2002 10:14 AM >> To: CF-Talk >> Subject: Re: Java in CF (CFMX) >> >> >> On Sunday, Nov 24, 2002, at 04:48 US/Pacific, Dick Applebaum wrote: >>> What do you mean by "design patterns" -- that is a term that I am >>> unfamiliar with? >> >> http://www.google.com/search?hl=en&ie=ISO-8859-1&q=design+patterns >> >> The Patterns Home Page (http://hillside.net/patterns) is the first >> link >> and has lots of good information. The "Gang of Four" Design Patterns >> book is also highly recommended: >> >> http://www.corfield.org/index.php?fuseaction=bookstore.main >> >> Under "Hot" Technical Books. >> >> I show how some classic design patterns can be used in ColdFusion >> here: >> >> http://www.macromedia.com/desdev/articles/facades.html >> >> Shlomy Gantz is working on a Design Patterns for ColdFusion book. >> >>> I have made several attempts to learn Java. >>> >>> The biggest deterrent, I have found is the long learning curve. >> >> I think the biggest deterrent you're really finding is the OO thought >> processes. Java has very simple *syntax* but the OO nature can make it >> hard to learn for folks with only procedural programming as a >> reference >> point. >> >>> I was amazed, after several hours of this, I had a complete CF >>> program >>> (with CF self documentation and Perl comments) that worked. >> >> Actually, I'm not amazed - this is one of ColdFusion's biggest selling >> points: that it is very easy to learn and it's very easy to get your >> first CF program running. >> >>> But, I was able to learn CF, well enough to be comfortable with it, >>> in >>> a few days. >> >> Yes, and I would expect most of us here would say the same - CF has >> certainly been the easiest language I've ever learned. >> >>> If CF had inline Java code, it would allow someone learning Java to >>> take a segment of a working CF program and recode that in Java -- >>> without the need to "learn everything about Java", including its >>> theory, structure, syntax documentation, etc., "all at once" >> >> I don't think that would be a good idea. People would not 'learn Java' >> that way, merely learn a different syntax for something they were >> already doing. What's more, they'd have to learn all the complexities >> of how to access CF variables etc from Java in order to translate just >> a small part of their code. Have you looked at the Java code that CFMX >> generates? It's quite complex - because CF is a much higher-level >> language that does a lot of things for you. >> >>> At some point, you would be proficient enough to write entire >>> programs >>> (or major portions) as Java servlets, applets, beans JSPs or whatever >> >> I very much doubt that. Sorry. The whole structure of J2EE >> applications >> is a major learning exercise on its own that has no equivalent in CF >> that you can 'learn by example' from. >> >>> (I don't know what term applies here, and there are so many of them) >> >> That's exactly my point: nothing in CF can actually let you learn >> these >> things! >> >> Sean A Corfield -- Director, Architecture >> Web Technology Group -- Macromedia, Inc. >> tel: (415) 252-2287 -- cell: (415) 717-8473 >> aim: seancorfield -- http://www.macromedia.com >> An Architect's View -- http://www.corfield.org/blog/ >> >> Introducing Macromedia Contribute. Web publishing for everyone. >> Learn more at http://www.macromedia.com/contribute >> >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

