|
From: John Bokma on 29 Jan 2006 21:57 Bart Lateur <bart.lateur(a)pandora.be> wrote: > opalpa(a)gmail.com opalinski from opalpaweb wrote: > >>Let's compare what percentage of Java programs use regular expressions >>and what percentage of Perl programs use regular expressions. By the >>java code I've got available I see less than 1% of Java sources using >>regular expressions. > > If people in Java don't use regular expressions to, as you say in > another post: > > : In a sys admin context one example is when I extracted timezone > : information from a text file where it was stored. > > where in Perl it's the most natural thing to use, this seems to imply > that using regular expressions in Java is just too hard, to be the first > choice. It also depends on the background of the programmer. I would use a regex in Java, if that would solve my problem the best. There are plenty of times people use regexp in Perl just because it's the shortest way to write it down. Which might be a good or a bad reason. Ages ago, when I discovered hash tables, I made my own little C lib for hash tables. When I discovered Perl, I immediatly loved the language: hash tables built in. But it didn't keep me from using hash tables in other languages. But it kept me from using hash tables if there was a better option available (i.e. a better reason at that moment, for that problem, taking as much things into account, etc.). -- John Small Perl scripts: http://johnbokma.com/perl/ Perl programmer available: http://castleamber.com/ I ploink googlegroups.com :-)
From: John Bokma on 29 Jan 2006 22:21 ram(a)zedat.fu-berlin.de (Stefan Ram) wrote: > John Bokma <john(a)castleamber.com> writes: >>Ages ago, when I discovered hash tables, I made my own little C >>lib for hash tables. When I discovered Perl, I immediatly loved >>the language: hash tables built in. > > "Hash tables built in" are not such a progress. The progress is: > hash tables in a language /with a garbage collector/. Using > dynamic datastructures in C requires the programmer to take > care of memory management, which makes it much more difficult. Ones advantage is anothers disadvantage. In some situations control over memory management is desired. Look at all the nice gc options Java has. I wouldn't call it progress, just something that can be very handy at times and a pita at other. -- John Small Perl scripts: http://johnbokma.com/perl/ Perl programmer available: http://castleamber.com/ I ploink googlegroups.com :-)
From: opalpa@gmail.com opalinski from opalpaweb on 29 Jan 2006 23:07 > And I should forgive you because you have a > decade-old opinion of the language? This is a non-sequitor. Nothing to apologize for -- my messages are polite and thoughtful. Your messages, on the other hand, contain name-calling, baseless claims of superiority, irrelevant spelling corrections, and rudness. bye Opalinski opalpa(a)gmail.com http://www.geocities.com/opalpaweb/
From: Michael Redlich on 29 Jan 2006 23:31 Uri Guttman wrote: > s/Opalinski/fool/ ; > > there is a great use of regexes in perl. let's see how fast you can code > that in java! > > your conflation of tools used and the purposes of programs is > boggling. would using a regex in bioperl to process gene data mean that > that work is just plain text processing? or parsing XML? or writing > internet protocols? you don't get the difference between a popular and > powerful feature of a language and the goals of a particular > program. given such a lack of discriminating logic, as i said before > please stick to java. it needs more coders like you. > > just let it go. you will never understand perl or anything beyond your > little java applet world. and don't come back with some balderdash about > my not knowing other langs and such as i could swat you like a fly in > too many langs. > > and back to the mature part of this useless thread. you ain't a perl > hacker and we are glad! NYAH!! NYAHH! NYAHH!! > > <one day those nyahs will finally be understood by you. i won't hold my > breath. now go away before even the java groups start thinking of you as > a fool.> > > uri > So this is how the President and Chief Technical Officer of Stem Systems, Inc. conducts himself on these groups. I shudder at the thought of how he runs the company... Mike. --- ACGNJ Java Users Group (http://www.javasig.org/)
From: Uri Guttman on 29 Jan 2006 23:51
>>>>> "MR" == Michael Redlich <mike(a)redlich.net> writes: MR> Oh yes, I think Uri needs to grow up. If I had to guess, he's MR> probably about 15 years old. I was ready to puke up my dinner MR> with his childish remarks. i hope your dinner tasted good in both directions. <SARCASM_ALERT> NYAH NYAH NYAH!!! </SARCASM_ALERT> does that make it clearer? so we have can't understand what perl is and can't comprehend obvious sarcasm. seems to be a trend here. by the way, i am enjoying this. i rarely troll but you guys are making it so easy and fun. how about this one. java and all those fancy IDE tools are for those who need all those crutches. i would like to see one of you code on punch cards (not even a screen editor) and wait 2 hours for your batch job to print out and then analyze the results. the children are the ones who demand the toys and who can't use their brains to code and debug. the fanciest tools can't help bad coders become better coders. so the claim you have better tools is empty. good coders can work in any language. bad coders demand IDEs. <hint: that was a java insult> can't wait to see the response from the java camp. <MORE_SARCASM_ALERT> and i am 16 dammit!! respect my experience!! </MORE_SARCASM_ALERT> uri -- Uri Guttman ------ uri(a)stemsystems.com -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org |