How about running this thought experiment on two high level languages, one which requires 3 lines of code and one which requires 1?
The answer is much less clear cut in this case. The fact that you think in absolutes for problems as complex as this one is baffling (I wanted to say "nuts" but Liam already used that adjective :-)) but again, you are just trying to use oblique arguments to push Scala, although at least you refrained from naming the language this time around. -- Cédric On Sun, Oct 24, 2010 at 8:30 AM, Kevin Wright <kev.lee.wri...@gmail.com>wrote: > It's just plain common sense, try it as a thought experiment: > > You have a list of numbers representing amounts of some currency, and you > need to add 20% to each number as a tax calculation. You have two possible > solutions: > > 1. low-level language, requiring 30 lines of code > 2. high-level language, requiring 1 line of code > > Which of these two solutions is most at risk of you introducing a bug? > > > > <http://www.drdobbs.com/article/printableArticle.jhtml;jsessionid=NMUEKNSP4DZ4BQE1GHPSKH4ATMY32JVN?articleId=225701139&dept_url=/open-source/> > > On 24 October 2010 16:14, Liam Knox <liamjk...@gmail.com> wrote: > >> I think you are completely nuts. As soon as you start to declare this type >> of idiocy about less characters more understandability, expressiveness etc, >> etc. Please study Kanji for a few years. >> >> On Sun, Oct 24, 2010 at 11:57 PM, Kevin Wright >> <kev.lee.wri...@gmail.com>wrote: >> >>> PERL isn't going wrong, it's arguably the single best tool available in >>> the extracting-and-reporting domain (the name's a bit of a give-away). If >>> you want to push the boundaries of the language then just be thankful that >>> you can, and don't go crying to the original designers for failing to coddle >>> you enough. >>> >>> Sure, PERL is prone to obfuscation, it's even easy to abuse. Then again, >>> so are machetes, but I haven't seeing the campaigns for blunter knives >>> yet... >>> >>> And yes, there have been several case studies that show the number of >>> bugs in a piece of code is basically a fixed percentage of the number of >>> tokens, regardless of the language. Fewer tokens = Fewer bugs. >>> >>> >>> >>> On 24 October 2010 15:42, Liam Knox <liamjk...@gmail.com> wrote: >>> >>>> Really? You can accurately equate Characters to that ? Where is Perl >>>> going Wrong? >>>> >>>> On Sun, Oct 24, 2010 at 11:28 PM, Kevin Wright < >>>> kev.lee.wri...@gmail.com> wrote: >>>> >>>>> It equates to 30% less time spent tracking down bugs in code that now >>>>> doesn't even exist, and the money paid to the developer who does so. >>>>> >>>>> On 24 October 2010 15:22, Liam Knox <liamjk...@gmail.com> wrote: >>>>> >>>>>> what does 30% reductions in characters mean and how does this equate >>>>>> to time or money ? >>>>>> >>>>>> >>>>>> On Fri, Oct 22, 2010 at 12:45 AM, Ken Egervari < >>>>>> ken.egerv...@gmail.com> wrote: >>>>>> >>>>>>> Hi guys, >>>>>>> >>>>>>> I wrote a framework that intends to replace DBUnit. It promises a 30% >>>>>>> reduction in the number of characters used compared to dbunit, and >>>>>>> mass simplifications and extra features across the board. >>>>>>> >>>>>>> It's on git. You can read about it there: >>>>>>> http://github.com/egervari/scaladbtest >>>>>>> >>>>>>> I only spent 2 or 3 days on it so far, but all the basic >>>>>>> functionality >>>>>>> is there and it works with mysql and hsqldb for sure. I even have it >>>>>>> working on a real project that has 1093 tests and hundreds of records >>>>>>> of test data, so it's field tested ;) It actually runs faster than >>>>>>> dbunit too by about 10 seconds :) >>>>>>> >>>>>>> Enjoy, >>>>>>> >>>>>>> Ken >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "The Java Posse" group. >>>>>>> To post to this group, send email to javapo...@googlegroups.com. >>>>>>> To unsubscribe from this group, send email to >>>>>>> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> >>>>>>> . >>>>>>> For more options, visit this group at >>>>>>> http://groups.google.com/group/javaposse?hl=en. >>>>>>> >>>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "The Java Posse" group. >>>>>> To post to this group, send email to javapo...@googlegroups.com. >>>>>> To unsubscribe from this group, send email to >>>>>> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> >>>>>> . >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/javaposse?hl=en. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Kevin Wright >>>>> >>>>> mail / gtalk / msn : kev.lee.wri...@gmail.com >>>>> pulse / skype: kev.lee.wright >>>>> twitter: @thecoda >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "The Java Posse" group. >>>>> To post to this group, send email to javapo...@googlegroups.com. >>>>> To unsubscribe from this group, send email to >>>>> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> >>>>> . >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/javaposse?hl=en. >>>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "The Java Posse" group. >>>> To post to this group, send email to javapo...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/javaposse?hl=en. >>>> >>> >>> >>> >>> -- >>> Kevin Wright >>> >>> mail / gtalk / msn : kev.lee.wri...@gmail.com >>> pulse / skype: kev.lee.wright >>> twitter: @thecoda >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "The Java Posse" group. >>> To post to this group, send email to javapo...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/javaposse?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "The Java Posse" group. >> To post to this group, send email to javapo...@googlegroups.com. >> To unsubscribe from this group, send email to >> javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/javaposse?hl=en. >> > > > > -- > Kevin Wright > > mail / gtalk / msn : kev.lee.wri...@gmail.com > pulse / skype: kev.lee.wright > twitter: @thecoda > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to javapo...@googlegroups.com. > To unsubscribe from this group, send email to > javaposse+unsubscr...@googlegroups.com<javaposse%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- Cédric -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to javapo...@googlegroups.com. To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.