> Perl's motto is "There is more then one way to do it." I remember reading somewhere that part of the the design goal of Perl 6 was to make the language "more sane". That says it all. For scripting language, I'd stick to Python, whose syntax feels natural to me, and to stay sane as much as I can. :-)
> Each brings it's own strengths and weaknesses to the table. True. But the same could be said if you had 10 ways to start a program. You have to balance the downside and the benefit. I personally think The confusion of 2 or 3 ways already out-weights the benefit in this particular case :-) > And Java only needs a main isn't true.... in web development there is no > main. There is no main if you write an eclipse plugin, and there is no main > if you use a Swing based framework. (note if it's just swing, you do.) In those cases you are not starting a program/process. You are only loading a library - your code being the library, the framework being the entry point of the process. > Wish I could articulate this better. Using the for comprehension as an > example... it's the way it gets compiled into code. There is no for loop in > Scala. A for comprehension gets boiled down to method calls. The curly > braces get converted into an anonymous function. > See > http://creativekarma.com/ee.php/weblog/comments/the_scala_for_comprehension_from_a_java_perspective/ Thanks for the explanation. I'll try to understand it. > And too few operators leads to a whole lot of words, which leads to a whole > lot of typing, or a whole lot of ctrl-space completions. It's a toss up. > The wordy way is definitely noob friendly, while the operator way is more > expert friendly. If you are talking about Java, that's true. Python is very concise, though. People say if you are not able to do the same thing in 1/10 LoC in Python as in Java, you are not coding Python right. I think it's exaggerating a little bit but it's close. This is probably partially due to the dynamic nature of Python.. > Or, if I may wax metaphorical (and deep into my own opinion)once more... who > do you think is the better driver, a NASCAR driver or a Prius driver? Which > is more expensive to learn to do? Which is more fun? :) I guess it depends on the goal of driving. NASCAR is definitely more fun but If the goal is to go from point A to B in time, safely and in a environment friendly way, maybe the Prius driver :-) And I think these are Java developers that Scala is also trying to appeal to. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---