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

Perl vs. Python

Name: Anonymous 2012-07-25 11:56

Which language should I learn first?

Name: Anonymous 2012-07-28 20:15

Better go with brainfuck then.
Sorry Mr. Wall, it's cleaner than Perl.

Name: Anonymous 2012-07-28 21:01

>>41
If you think that Perl is not clean enough you are doing it wrong.

Name: Anonymous 2012-07-28 21:29

Why not use Ruby instead?

Name: Anonymous 2012-07-28 21:31

>>43
Yeah, I've been thinking this the entire thread.

Name: Anonymous 2012-07-28 21:33

>>44
SLOW AS FUCK

Name: Anonymous 2012-07-28 21:36

Name: Anonymous 2012-07-28 21:57

>>42
I write pretty clean Perl. My coworkers find it readable and easy to understand (once they get past the initial ``ew, Perl''). Though if I haven't touched the language in a few months I get bitten by really dumb multiple assignment gotchas.

I would never trust a stranger to write good Perl.

Name: Anonymous 2012-07-29 0:04

>>46
>Ruby used: 105x memory
gc is shit

Name: Anonymous 2012-07-29 0:36

>>48
yeah because cherry picked extreme values that don't match any of the rest of the data in a set are the best values to make decisions on.

Name: Anonymous 2012-07-29 2:55

>>48
Too bad Ruby is [b][u][i]SLOW AS FUCK[/b][/u][/i].

Name: >>50 2012-07-29 2:56

I'll proceed to commit sudoku now.

Name: Anonymous 2012-07-30 1:28

While I strongly prefer to stuff a Python dildo (vs a Perl semi-firm turd) into my anus, I cannot ignore the fact that Python's version of using syntax as indentation is utterly retarded (unlike Haskell which will complain if you indent it wrong) because it is seemingly designed to facilitate errors, you can mess up a control structure accidentally and only notice it because of a strange bug.

Name: Anonymous 2012-07-30 1:46

>>52
Nah it just goes in line with the Python philosophy: compile-time checks? What are those?

Name: Anonymous 2012-07-30 12:08

>>53
No, this is not the case.  Python syntax is designed for these errors.  E. g.  you have
while 1:
    a()
    b()
    c = len_(dicks)
d(anii)
e = f(g)
[code]
and all of sudden your program starts acting weird.  You look at Git commits one by one, do git bisect, pull a few hairs, tell the other guys, read commits again, until you find that [code]d(anii)
should actually be inside the while loop and someone accidentally pressed a tab in the wrong place and never noticed.  Both versions are valid, but only one does what you want it to do.

I have considered ending each syntactic block with a pass, which will also help python-mode to always indent properly.  This is simply a non-problem in C-derived languages, other than javashit with its marvelous
blah();
blah();
return // Ha! Ha! I am returning an object!
Object()

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