>>4
What do you mean by "native regex support"?
Python's standard library has the re module.
Also, there are alternate regular expression modules available.
Name:
Anonymous2012-07-25 13:16
>>6
The re module isn't the same thing. By native support I mean the feature is built into the language. Python doesn't do such a thing.
Name:
Anonymous2012-07-25 13:19
>>6
And if you really want to understand the differences between the Perl and Python implementation, get and read the book "Mastering Regular Expessions" by Jeffery E.F. Friedl.
>>7
Simplifying the language by moving library-able things into libraries isn't exactly a bad thing. You could have argued about JITing the regexps, but you didn't.
Name:
Anonymous2012-07-25 14:03
javascript. it's the only dynamic language that was actually designed
Name:
Anonymous2012-07-25 14:07
Well, Perl is like !"Ysw¤%UYrW¤&%)
and Python is like hszzzhss hzzzzhzhzzz sshhhzzhhh
>>14
Maybe if you choose the wrong set of features to start with. Or if the implementer is called Guido van Rossum, then the former is most likely true too.
just started reading SICP, its pretty sweet...never took Lisp seriously until now.
Not OP btw, just a viewer
ive only ever known OOP, working with lua, Java, and C++ (learning in that order) but of course i am eager to learn more!
Name:
Anonymous2012-07-26 3:20
>>28
OOP in those languages is different from OOP in Lisp (assuming CL, which you should learn after picking up Scheme). I strongly suggest learning how to work with CLOS.
Name:
Anonymous2012-07-26 7:59
>>14 letting efficency of regex implementation be the determining factor for choosing perl over python
I have many issues with stripping as a profession and strip clubs as sexual spaces. To be frank, they disgust me (note, not strippers themselves, but strip clubs and the institutional inequalities that allow stripping to exist as a profitable career). I don’t frequent them. I request that Carlos does not (and he complies). Nothing about being a stripper is empowering, and arguments of that nature are shallow, misplaced and poorly thought out. In my experience however, cardio striptease is exactly the opposite. Thus far I’ve found it, empowering, and an interesting way to explore one’s sexuality through dance and movement in a safe space.
>>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.
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.
>>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()