#perl
03 October 2007
Total 41 pages. You are browsing page 41/41.
First :: Prev :: [...] [37] [38] [39] [40] [41] :: Next :: Last
23:28 * CPAN upload: MySpam-0.04 by MLAWREN
23:28 <****> reflexive: As a programmer you should be confident you can write an application in any language
23:29 <****> reflexive: It'll just take a little longer with some :)
23:29 <****> fax: it's always better in the original Klingon
23:29 <****> haha
23:29 <****> fax: I'm confident I will not write an application in COBOL.
23:30 <****> GumbyBRAIN: let's re-write you in Plankalkül
23:30 <****> "Write it in another script and he pointed me at sco.
23:30 <****> PerlJam: In that case... PHP, Perl, Ruby, Scheme, and the Bourne shell for sure. Haven't touched Python in a while, and C in even longer.
23:30 <****> reflexive: You are really missing out in the are of Logic programming
23:31 <****> reflexive: You would probably like Prolog, since it'd be a big change in concepts
23:31 <****> fax: I was about to say, I believe there's a junior-level logic programming course that's taught with Prolog.
23:32 <****> what is logic programming?
23:32 <****> reflexive: yeah, add prolog and smalltalk (or one of the pure OO languages) and you're good to go as far as concepts are concerned
23:34 <****> prakriti: You describe the logical conclusion of a computation (as opposed to each step of a computation)
23:34 <****> reflexive: though, I have to say when I was playing with prolog 15 or so years ago, I thought "hey this is neat" and I could see where it could be used in expert systems and such, but I haven't touched it since.
23:34 <****> prakriti: So for example you can define append/3 in Prolog, where append(A, B, C) means that the list C is A appended with B
23:35 <****> PerlJam: similar here. just used prolog in my logic for comp sci class
23:35 <****> prakriti: Then if you enter append(X, Y, [a,b,c,d,e]), Prolog will list every pair of X, Y so that appended they are [a,b,c,d,e], like X=[a],Y=[b,c,d,e], .. and so on
23:35 <****> My complaint about languages is there are too many. Choice is "nice". When there are hundreds of choices if you include variations than things get quite messy.
23:35 <****> In a way regular expressions have filled the "declarative programming" niche that prolog would have occupied ;)
23:36 <****> sounsd like a pain
23:36 <****> PerlJam: Works for me.
23:36 <****> prakriti: Sounds like a pain to be able to tell the computer What to do instead of How?
23:36 <****> prakriti: And have every function of N parameters you write have N^2 uses as opposed to 1
23:36 <****> prakriti: It's only a pain to set things up. The rest is far easier than doing it by hand.
23:37 <****> and don't forget Simonyi's intentional programming. :)
23:37 <****> kspath: As long as you hit the big and medium sized concepts you're good. Most languages are essentially the same modulo syntax anyway
23:39 <****> for reference, recursion is a "big" concept whereas the idea of filtering is medium-sized.
23:39 <****> anyway, I've got work to do
23:39 * PerlJam &
23:40 <****> prakriti: What does append look like implemented in Perl?
23:40 <****> I knew this one guy that was so afraid of recursion he would write these gigantic nested loops to avoid it.
23:40 <****> my $c = $a . $b;
23:40 <****> is there a way to get the perl script error in my browser when writing a cgi?
23:40 <****> prakriti: That's using append, not implementing it
23:40 <****> hey rindolf if you're still there
23:40 <****> XD
23:41 <****> Hi LisaLaptop
23:41 <****> LisaLaptop: what's up?
23:41 <****> lots
23:42 <****> up is a relative term
23:42 <****> I just got back from something I have no idea what it was exactly
23:42 <****> LisaLaptop: why don't you know what it is?
23:42 <****> LisaLaptop: because they spoke French there?
23:43 <****> well
23:43 <****> it was come kind of festival.
23:43 <****> but the other thing they did was some kind of dance
23:44 <****> jetsaredim: use CGI::Carp qw(fatalsToBrowser);
23:44 <****> some cultural looking thing.
23:44 * CPAN upload: MySpam-0.05 by MLAWREN
23:45 <****> LisaLaptop: I see.
23:45 <****> Well, I'm off to bed - I'm busted.
23:45 <****> ok
23:45 <****> see ya
23:45 <****> G'night.
23:46 <****> buu: thx
23:57 <****> hrm
23:57 <****> is there a oneline equivalent to this:
23:57 <****> $_ = $array[3];
23:57 <****> if( /^[0-9]+$/ ){
23:57 <****> ???
23:58 <****> !!!
23:58 <****> what ?
23:58 <****> nothing
23:58 <****> equal to what ?
23:58 <****> ask it again i ve just joined
23:58 <****> is there a oneline equivalent to this:
23:58 <****> $_ = $array[3];
23:58 <****> if( /^[0-9]+$/ ){
23:59 <****> thats it
23:59 * CPAN upload: Geo-GoogleEarth-Document-0.08 by MRDVT
23:59 <****> ok guys
--- Log closed Thu Oct 04 00:00:14 2007
Total 41 pages. You are browsing page 41/41.
First :: Prev :: [...] [37] [38] [39] [40] [41] :: Next :: Last
