Slashdot Mirror


User: blamelager

blamelager's activity in the archive.

Stories
0
Comments
17
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 17

  1. Which 5 programming languages do you know best? on Interviews: Q&A With Guido van Rossum · · Score: 1

    just curious

  2. Re:Python as a shell language on Interviews: Q&A With Guido van Rossum · · Score: 1

    Yeah, I agree, I've also reluctantly come to the conclusion that significant whitespace as the only option can suck a bit - places too many demands on the editing tools, clipboard etc. Definitely a double-edged sword.

    For the use-case you're talking about, something like ruby or javascript (!) or a lisp would be better.

    But python is nicer to read and has great libraries for a lot of things. Hey-ho. Can't have everything, eh?

  3. Re:functional programming on Interviews: Q&A With Guido van Rossum · · Score: 1

    I agree with anonymous coward below - I don't see how list comprehensions and generators are clearer than 'map' and 'reduce' (or is there some other reason you think generators and list comprehensions are better? .. more flexible? more concise?)

    I use list comprehensions and generators, and it's fine; but frankly they're not that self-explanatory or intuitive. For a language that aspires to be almost pseudo-code, python sure has its share of weirdness and magic.

  4. Re:Multi-line lambdas on Interviews: Q&A With Guido van Rossum · · Score: 1

    ;-)

    kind of answers that one, doesn't it?

    perhaps someone ought to fork it and fix it up... http://writeonly.wordpress.com/2010/04/01/whython-python-for-people-who-hate-whitespace/

  5. Re:Multi-line lambdas on Interviews: Q&A With Guido van Rossum · · Score: 3, Funny

    >>> from __future__ import braces

  6. Gimp & Inkscape on Adobe To Australians: Fly To US For Cheaper Software · · Score: 1

    Creative Suite would be expensive at a tenth of the price.

  7. Winner decides on Not Quite a T-1000, But On the Right Track · · Score: 1

    ... obviously! Some things will never change.

  8. Re:Do Good on Ray Kurzweil Joins Google As Director of Engineering · · Score: 1

    You should've named your post "Do No Good" ;-)

  9. Re:Do No Evil on Ray Kurzweil Joins Google As Director of Engineering · · Score: 1

    You just mixed up will and intelligence. I think they are two different things. I guess that an AI will not have human emotions and motivations unless they are designed in. Ergo, the handler should be feared more than the AI at the outset (of course, that may change with accidents and evolution).

  10. Do No Evil on Ray Kurzweil Joins Google As Director of Engineering · · Score: 1

    Whoever makes the first AI capable of improving itself had damned well better stick to that principle. You know it really isn't funny. It's not the AI you should worry about so much as the people in possession of it. And Google (i.e. USA) are not the only outfit involved in this arms race. Bad, bad, bad. This one could make the Manhattan project look like the work of amateurs.

  11. Oh Crap on Ray Kurzweil Joins Google As Director of Engineering · · Score: 2

    Herbert did have a point you know

    http://en.wikipedia.org/wiki/Orange_Catholic_Bible

  12. Error is too vague on The Scourge of Error Handling · · Score: 2

    Surely there are different sorts of errors, which would suggest different approaches for dealing with them?

    1. Programmer error. Should be uncovered during testing; where information about the point of failure and the state of the program at that point is invaluable. However, any remaining code of this sort in a final product should not bother the user with the details, but rather log them for passing back to the developer.
    2. Installer error. Sort of a mix of 3. and 4. below.
    3. System error. A problem with the state of the system (perhaps a network connection is down, or the disk is full): as with a user error, the program should do what it can to continue, and tell the user exactly what is wrong so they can do something about it.
    4. User error. The program should endeavour to continue doing the most sensible thing possible and/or tell the user what they have done, and what they should have done. A user does not want to see Exception messages.

    I guess it's pretty hard/futile to deal with most of these issues at a language level, because the appropriate course of action and channels of communication depend on the system. It strikes me that most of this stuff is something a domain-specific framework or API should be handling.

  13. Re:Gut reaction? on Python Creator Guido van Rossum Leaves Google For Dropbox · · Score: 1

    Somebody modded me down for that?

    I like python, and use it a fair bit, but the news hardly comes across as an endorsement, does it? To be fair I'm not sure Python is a super-fantastic fit for Google - it may be easy to read, excellent for prototyping, glue, and access to useful (esp. scientific) libraries; but it's not the absolute best language for text processing, web stuff, GUIs or speed.

  14. Gut reaction? on Python Creator Guido van Rossum Leaves Google For Dropbox · · Score: 4, Informative

    In my case, was that Google are moving away from Python. Also see the last answer here:-

    http://stackoverflow.com/questions/2560310/heavy-usage-of-python-at-google

    Perhaps there are some anonymous Googlers out there that are brave enough to comment?

  15. World's Most Misunderstood Language on Khan Academy Launches Computer Science Curriculum · · Score: 1

    Before you blindly dis' javascript, listen to Crockford

    http://www.youtube.com/watch?v=gz7KL7ZirZc

    "Lisp in C's clothing"

    "Lousy Implementations" to blame

    And the prototype model is more pragmatic and less crazy than the object-fetishists will ever admit. You can do functional-style programming in javascript pretty well too.

    Could it be that javascript is a language whose time has come, and the Khan academy have made a smart choice? Let's face it - it wouldn't harm to have more well-trained javascript programmers.

  16. Crappy PDF support on Why We Love Firefox, and Why We Hate It · · Score: 1

    in Chrome it just works

  17. Yes and no on Is It Time To End Our Love Affair With the QWERTY Keyboard? · · Score: 1

    QWERTY is rubbish for one-handed typing, so I can see the advantage of a layout like Dextr (and for one-thumbed-typing, the 3-letters-per-key with predictive is perfect).

    However, it *is* annoying as hell when a layout you know is messed around with (ever tried foreign keyboards..?) No compelling reason for QWERTY to be dropped from workstations and laptops.

    What's wrong with knowing both? Different tools for different jobs.