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

Python is better than Perl6

Name: Anonymous 2011-01-23 7:35

Python is better than Perl Six! Read this delightful article from a PROFESSIONAL GOOGLE SOFTWARE ENGINEER.

http://everythingsysadmin.com/2011/01/python-is-better-than-perl6.html

Name: Anonymous 2011-01-23 7:42

>>1
Even Ruby is better than Python.
Even Tcl is better than Python.
Even JAVA is better than Python.

Where are my operators?
Why do I have to indent my code?
How can I write unreadable quines with all that indentation?
Where are my macros? Lisp macros? Perl 6 macros?
What? Just one-line-lambdas? In Perl 6 I can pass them like blocks!

Name: Anonymous 2011-01-23 7:47

|There's one way to do things. Code becomes a lot cleaner when |there is one obvious way to do things. In Perl there are many |ways to do things... having some ability to be creative is nice; |have too much is stifling. Imagine being at a doughnut shop with |10,000 choices. It's confusing. Now go to a doughnut shop that |specializes in chocolate cream filled. Sure, they have others in |case you really want a cruller, but you know that the obvious |choice (their speciality) is the way to go.

Stopped reading there.

Name: Anonymous 2011-01-23 7:49

>>3
|
Stopped reading here.

Name: Anonymous 2011-01-23 8:30

>>2
Why are Perl6 fans so obsessed with ``operators''?  Even novice Haskellers (or anyone who knows basic math even an centimeter beyond arithmetic) know that an operator is nothing more than a relation with some additional rules regarding absolute precedence, and that's it.
* >>5 googles
Hmm, it seems that Perl6 allows users to define their own operators, much like Haskell.  Finally, a good idea being implemented.  Too bad the rest of Perl6 sucks glowing goat's balls and Larry is a mental hospital bishop.

Name: Anonymous 2011-01-23 8:42

>>5
Yeah, too bad this poor trolling attempt you can't back up.

Name: Anonymous 2011-01-23 8:43

>>5
Perl 6 has macros, you can fix the ``rest of Perl 6'' by defining more operators.
User-defined operators enhance the ability of making unreadable messy code. And giving the class Identity does Monad the >>= operator.
Also, anonymous functions.
$m.bind { $^a+2 }; $m >>= { $^a+2 }; $m.bind -> $x { $x+2 } vs m.bind(lambda x: """the forced __one_linerization__ of lambda""")

Name: Anonymous 2011-01-23 9:13

"""the forced __one_linerization__ of lambda"""
I fucking knew it. Python has officially crippled itself.

Name: Anonymous 2011-01-23 9:16

>>8
It has been so since they put lambda in the language.
A lambda is not a function, is a callable object that can execute just one expression, in a language full of statements.

Name: Anonymous 2011-01-23 10:04

>>8,9
However, you can most certainly implement something like prog1 or progn in Python, and you can even do it with lambda:

prog1 = lambda *a: [f() for f in a][0]
progn = lambda *a: [f() for f in a][-1]


You can get very, very far indeed in Python without any "statements", especially if you plan on writing code with NO EXCEPTIONS.

Name: Anonymous 2011-01-23 10:25

>>10
Too bad LCs are SLOW AS FUCK, for they NEED to STORE EVERY return value of EVERY function call.

Also,
lambda x: progn(anus.hax(),
      board(x).reply(thread_id, """
Oh god how did I get here I am not good with computers
""",
      something(x), something2(x))


The pleasure of separing your expressions with ,.

Name: Anonymous 2011-01-23 10:25

>>11
s/function call/expression/

Name: Anonymous 2011-01-23 10:29

>>11,12
And before the expr and expr2 trick:
Too bad short circuits are SLOW AS FUCK, for they NEED to TEST EVERY return value of EVERY expression, and what if my expression returns False? I feel kind of bad about :(

And before everything else:
Too bad you can't assign variables in your shitty lambdas, because GvR van Rossum decided to make assignment a statement!

Name: Anonymous 2011-01-23 11:18

>>13
Something is wrong with your markup. Please reread your posts before submitting them.

Name: Doctor Racket !RACKET/.HY 2011-01-23 11:22

>>14
Please reread your posts before submitting them.
11:18
http://dis.4chan.org/read/prog/1295793096/10
Please, reread your posts before submitting them.
11:13

You don't have to copy other person, just be yourself.

Name: Anonymous 2011-01-23 11:32

>>15
Something is wrong with your clock. Please recheck it before posting.

Name: Doctor Racket !RACKET/.HY 2011-01-23 11:44

>>16
I know, now let's go back to the psychiatrical hospital.

Name: Anonymous 2011-01-23 12:39

YHBT

Name: Anonymous 2011-01-23 12:40

YHBT

Name: Anonymous 2011-01-23 12:41

YHBT

Name: Anonymous 2011-01-23 12:42

YHBT

Name: Anonymous 2011-01-23 12:43

YHBT

Name: Anonymous 2011-01-23 12:44

YHBT

Name: Anonymous 2011-01-23 12:45

YHBT

Name: Anonymous 2011-01-23 12:46

YHBT

Name: Anonymous 2011-01-23 12:46

YHBT

Name: Anonymous 2011-01-23 12:47

YHBT

Name: Anonymous 2011-01-23 12:48

YHBT

Name: Anonymous 2011-01-23 12:49

YHBT

Name: Anonymous 2011-01-23 12:50

YHBT

Name: Anonymous 2011-01-23 12:51

YHBT

Name: Anonymous 2011-01-23 12:52

YHBT

Name: Anonymous 2011-01-23 12:53

YHBT

Name: Anonymous 2011-01-23 12:54

YHBT

Name: Anonymous 2011-01-23 12:55

YHBT

Name: Anonymous 2011-01-23 12:56

YHBT

Name: Anonymous 2011-01-23 12:57

YHBT

Name: Anonymous 2011-01-23 12:58

YHBT

Name: Anonymous 2011-01-23 12:59

YHBT

Name: Anonymous 2011-01-23 13:00

YHBT

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