Berkeley CSUA MOTD:Entry 52167
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2008/12/4-10 [Computer/SW/Languages/Python] UID:52167 Activity:low
12/4    FORTRAN, er, Python 3.0 / 3000 is out:
        http://www.python.org/download/releases/3.0
        \_ As someone who tried out Python and disliked it, is there a reason I
           should take a look at it again?
           \_ Not really. Why'd you dislike Python? I love it.
              \_ The whitespace was a killer, other syntax a bit clunky,
                 regular expression syntax was hideous.  Once I found Ruby, I
                 never looked back.  The problems with Ruby are: 1) threading
                 and 2) performance.  That's what they're dealing with in the
                 next release.
                 current release.
              \_ Passing around "self" alot and usage of convention in class
                 syntax shows that the OOP was added as an afterthought no
                 matter what guido says.  Also they are going to keep that GIL
                 forever which hurts their multithreaded performance.  Maybe
                 jython will fix that but i'm not hopeful.
                 \_ Ugh, not this again, there was a lengthy argument on the
                    Python mailing list on this. It's not that self was *added*,
                    but that an explicit self disambiguates variable resolution.
                    I happen to agree, and this is one of the reasons I'm so
                    fond of Python. It's a matter of personal preference. I have
                    little to say on the GIL since I either don't do parallel
                    with Python, or use processes to do it. --t
                    Python mailing list on this. It's not that self was
                    *added*, but that an explicit self disambiguates variable
                    resolution. I happen to agree, and this is one of the
                    reasons I'm so fond of Python. It's a matter of personal
                    preference. I have little to say on the GIL since I either
                    don't do parallel with Python, or use processes to do it.
                    --t
                 \_ Let me expand a little. There's nothing keeping them from
                    making 'self' implicit *technically*; however, this was
                    debated several times over for Python 3k and the consensus
                    (not decree) was that Python is better with it than without.
                    (not decree) was that Python is better with it than
                    without.
                    Also, if you want a multithreaded app, presumably you are
                    targeting performance, or you'd be writing it with processes
                    instead. At that point, why not use the Python API with C
                    or something to do threads? (This is an honest question, not
                    a hypothetical question.) I use Python for the speed of
                    development and the clear (IMO) semantics. Besides, isn't
                    Stackless Python what you're looking for? --t
                    targeting performance, or you'd be writing it with
                    processes instead. At that point, why not use the Python
                    API with C or something to do threads? (This is an honest
                    question, not a hypothetical question.) I use Python for
                    the speed of development and the clear (IMO) semantics.
                    Besides, isn't Stackless Python what you're looking for?
                    --t
        \_ I always found regexp in Python to be insane.  Is this better in
           Python 3?
2025/04/04 [General] UID:1000 Activity:popular
4/4     

You may also be interested in these entries...
2013/4/9-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Apps, Computer/SW/Languages/Perl] UID:54650 Activity:nil
4/04    Is there a good way to diff 2 files that consist of columns of
        floating point numbers, such that it only tells me if there's a
        difference if the numbers on a given line differ by at least a given
        ratio?  Say, 1%?
        \_ Use Excel.
           1. Open foo.txt in Excel.  It should convert all numbers to cells in
	...
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        http://techcrunch.com/2012/12/18/print-happy-25th-birthday-perl
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
	...
2011/12/23-2012/2/6 [Computer/SW/Languages/Python] UID:54272 Activity:nil
12/23   In Python, why is it that '好'=='\xe5\xa5\xbd' but
        u'好'!='\xe5\xa5\xbd' ? I'm really baffled. What
        is the encoding of '\xe5\xa5\xbd'?
        \_ '好' means '\xe5\xa5\xbd', which is just a string of bytes; it has
           length 3.  Python doesn't know what encoding it's in.  u'好' means
           u'\u597d', which is a string of Unicode characters; it has length 1,
	...
2011/4/16-7/13 [Computer/SW/Languages/Python] UID:54086 Activity:nil
4/16    Whoa, I just heard that MIT discontinued 6.001 (classic scheme)
        to 6.01. In fact, 6.00, 6.01 and 6.02 all use Python. What the
        hell? What has the world become? It's a sad sad day. SICP forever!
        \_ old story, they've ditched that shitty book and lang for a while.
        \_ I used to think scheme was cool, then I saw Ka Ping Yee's
           "Beautiful Code" class aka 61a in python, and converted.
	...
2011/2/24-4/20 [Computer/SW/Languages/Java] UID:54048 Activity:nil
2/24    Go Programming Language.  Anyone here use it?  It kind of
        reminds me of java-meets python, and well, that is fitting given it's
        a GOOG product.  What is so special about it?
        \_ as I understand it, it's a suitable OOP-y systems language with more
           structure than C, less complexity than C++, and less overhead than
           Java/Python.
	...
2011/3/31-4/20 [Computer/SW/Languages/Python] UID:54070 Activity:nil
3/20    Has anyone here had success in using python 3.0?  Any gotchas
        to worry about? I've got an entire set of apps in python 2.x
        and am wondering if it's worth it to upgrade?
	...
2010/8/8-9/7 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Web] UID:53914 Activity:nil
8/8     Trying to make a list of interesting features languages have
        touted as this whole PL field comes around, trying to see if they
        have basis in the culture of the time: feel free to add some/dispute
        1970 C, "portability"
        1980 C++, classes, oop, iterators, streams, functors, templates
             expert systems
	...
2010/8/12-9/7 [Computer/SW/Languages/Perl] UID:53922 Activity:nil
8/12    Ruby coders, do you mostly DIY your stuff or use the ruby libs out
        there?   How is their quality compared to other libs you have used
        for other langs?  Thx.
        \_ I use Ruby for hobby stuff, etc.  I use libraries for system stuff
           (web access, process, etc.) but that's about it.  Perl libraries are
           much better/more complete.  I assume because of the maturity and
	...
Cache (532 bytes)
www.python.org/download/releases/3.0 -> www.python.org/download/releases/3.0/
Releases > 30 Python 30 We are pleased to announce the release of Python 30 (final), a new production-ready release, on December 3rd, 2008. ka "Python 3000" or "Py3k") is a new version of the language that is incompatible with the 2x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. Also, the standard library has been reorganized in a few prominent places.