Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

FUCKIN PERL

Name: Anonymous 2006-07-13 19:58

no, the parser fucking blows.           
 you can't do this:
 print $fds[$i] "Perl sucks\n";       
 even if $fds[$i] is a valid fd. because either Perl's
              parser sucks, or  Perl's grammar sucks.

Name: Anonymous 2006-07-13 20:03

>>1
http://perldoc.perl.org/functions/print.html
Note that if you're storing FILEHANDLEs in an array [...] you will have to use a block returning the filehandle value instead

omg its too ard

Name: Anonymous 2006-07-14 1:32

No it means perl has retarded syntax

Name: Anonymous 2006-07-14 2:38

>>1
whether $fds[$i] is a valid FH occurs only at runtime. use >>2's solution (put {} around it) or one of the OO filehandle modules and $fds[$i]->print("i'm retarded");

depending on what you're trying to do one of these (better) solutions could apply:
a.) you're just printing a constant string to a list of filehandles - use print $_ "foo" for ($fds);b.) if you're using $fds[$i] more than once in a block, save it to a scalar first.

Name: Anonymous 2006-07-14 20:56

>>3
Perl has a retarded syntax regardless of if you can do what >>1 wants or not. Seriously, it's the worst syntax ever, made of ambiguous, obscure, and retarded decisions, must have been made by a 12 year old BASIC kid. Perl designers (if we can call them designers - they work more like astrologers) should stuff DWIM, lack of parenthesis, {}, next, last, = () = hacks, $_, my, sub, ->, $@% hungarian notation, \$, <>, while (<>), one line blocks, lack of comma, and all the other shit up their asses.

Name: Anonymous 2006-07-14 21:10

Perl was created by Larry Wall, who is apparently a linguist. Guess that means linguists shouldn't be creating programming languages.

Amusingly, one of his quotes reads:
"Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in."

The inventor of the ugliest language _ever_ disparaging the only language that is beautiful? Lawl.

Name: Anonymous 2006-07-15 0:54

Lisp is beautiful in the same way a turing machine is beautiful: only if you're a looney mathematician. Sorry, man, it's not beautiful at all, except from afar.

There's no doubt that Perl's syntax is unadulterated evil though.

Name: Anonymous 2006-07-15 1:10

Perl isn't supposed to be beautiful. It's supposed to be practical and efficient. At the time there weren't a lot of languages that could do as many array related functions as Perl can.

Name: Anonymous 2006-07-15 3:05

Writing in a "beautiful" language is for faggots. Perl lets you write what you mean and doesn't rape you up the ass with ideology and rules for the sake of rules.

Name: Anonymous 2006-07-15 3:56

Perl isn't supposed to be beautiful. It's supposed to be practical and efficient.
Writing in a "beautiful" language is for faggots
There is no such thing as a beautiful programming language unless you fap to legacy COBOL or something (because it's so manly!). However if perl had a syntax that doesn't make it look like a cat waltzed across the keyboard would increase any perl programmer's efficency like 200%

Name: Anonymous 2006-07-15 11:04

>>7
Truth

>>8
Perl is not practical or efficient for the developer (i.e. productive) because maintenance is a fucking bitch. Even if you can get away without using the fugly shit, you'll always have to deal with others' code unless you're a kid that pretends to be a programmer.

Array functions are nice, but every new scripting language has a better syntax than Perl. The fact nobody else does it is no excuse to do it in a lame way.

>>9
Perl actually has more rules with all that DWIM shit and ambiguity to solve.

Name: Anonymous 2006-07-15 13:08

>>11
Sorry but you obviously have no real world experience with Perl. CPAN committers and real perl programmers (not the COOP student you and your breathern are) program perl which can use a variety tricks and still be maintainable and readable. It sounds like you've never dealt with a program over the size of 30KLOC.

Damien Conway's new style guide helps newbies get up to speed. Perl doesn't restrict you but if you want to work with others you might have to restrict yourself.

If you really think Ruby and Python are so much different you're obviously blind. They are basically 1 to 1 with perl.

Again /prog/ losers fail it.

Name: Anonymous 2006-07-15 13:18

>>12

job security much?

Name: Anonymous 2006-07-15 20:42

They are basically 1 to 1 with perl.

Feature-wise? Yes, there's a rough parity. For syntax though? No, and syntax matters a lot.

I agree that it's possible to make maintainable Perl programs, and I'll even agree that's it's pretty easy to do so. Even so, I find that I need perl's manpages far too much for comfort, even after all these years.

Name: Anonymous 2006-07-16 7:23

Syntax gets in the way. There is an inverse correlation between the amount of syntax a language has and how easy it is to understand.

Name: Anonymous 2006-07-16 15:47

both python and ruby overload tonnes of operators with stupid shit. You cannot claim superior syntax when python pulls off bullshit like a + [b].

Name: Anonymous 2006-07-16 16:47

People who think operator overloading is bad are stupid.

Name: Anonymous 2006-07-16 17:29

Operator overloading is bad.

Name: Anonymous 2006-07-16 20:02

>>18 is stupid.

Name: Anonymous 2006-07-16 20:05

>>17
>>19
Couldn't write maintainable code even if they hired maintainable code experts as consultants to help them.

Name: Anonymous 2006-07-16 23:38

MODS /B/ IS NOT WORKING PLZ FIX CUZ I LIEK /B/. KTHNKSBAI.

Name: Anonymous 2006-07-18 4:36

>>20
Would they use industry-standard practices and enterprise-scalable solutions?

Name: Anonymous 2006-07-18 8:20

>>22
Just move everything into XML files. XML makes everything better!

Name: Anonymous 2006-07-18 9:25

>>23
Don't forget the OP/Ms - Object Perl Mappers!

Name: Anonymous 2006-07-28 3:27

>>18
What the fuck?

Seriously..........


wow....

Name: Anonymous 2007-03-13 5:35 ID:QYKVbOOj

use forced_indentation;

Name: Anonymous 2007-03-13 5:55 ID:Heaven

Oh wow! Someone read my "How to fag up /prog/ in four easy steps" post! Great work fag!

Name: Anonymous 2007-03-13 6:46 ID:o5HN8gCS

Operator overloading is stupid and unnecessary if you have a type system invented after 1960. Oh wait.

Name: Anonymous 2007-03-13 9:34 ID:gbioD/OW

>>26
way to bump an 8 month old friend.

Name: Anonymous 2007-03-13 10:33 ID:QYKVbOOj

>>29
I did it on purpose to annoy people, I'm glad you noticed ^_^

Name: Anonymous 2008-04-14 9:14

>>>>test

Name: Anonymous 2008-04-14 9:14

>>>> test

Name: Anonymous 2008-04-14 9:15

>>> test

Name: Anonymous 2008-04-14 9:15

>> test

Name: Anonymous 2008-04-14 9:15

>>>test

Name: Anonymous 2008-04-14 9:15

>>>>>test

Name: Anonymous 2008-04-14 9:15

Godfuckingdamnit.

Name: Anonymous 2008-04-14 9:16

>test

Name: Anonymous 2008-04-14 9:16

test

Name: Anonymous 2008-04-14 9:16

test

Name: Anonymous 2009-01-14 13:33

FIOC

Name: Anonymous 2009-03-06 9:18


The s called and   signed and unsigned.

Name: Anonymous 2009-03-06 11:23

C and i make my fractional numbers   like this int   a b scanf.

Name: Anonymous 2009-03-06 11:30

The did it this article and you   find a guitar   player No wonder   people dont like   borland either but   cout is probably   as big as   a cock would.

Name: Anonymous 2010-06-07 6:50

Hi, I can spam /prog/ too, you faggot.

Also, smoke weed everyday.

Name: Anonymous 2010-06-26 9:58

ur gay

Name: Anonymous 2010-06-28 10:56

beware the army of 12 year old autistics

Name: Anonymous 2010-12-09 9:43

Name: Sgt.Kabu鳱紑kiman웈频 2012-05-28 19:22

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy

Name: Anonymous 2013-08-05 16:41

Lain.

Name: Anonymous 2013-08-05 17:55

PERL A SHIT




























All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List