×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Interviews: Q&A With Guido van Rossum

strombrg Re:GIL (242 comments)

Also, CPython having a GIL supposedly makes it easier to write C extension modules, which may be partially responsible for the large number of such modules for CPython.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:why should I adopt Python 3? (242 comments)

Programs tend to be international out of the box, because str is what unicode used to be.

try/except is no longer a programmer trap.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:functional programming (242 comments)

map, filter and reduce are almost always better done as a generator expression or list comprehension, FWIW. I'm interested in hearing about Python and Functional Programming though.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:Python in the browser ? (242 comments)

Python, as a plugin, would require adoption by Chrome, Firefox, Internet Explorer, Opera - I doubt all four of these would all agree to support Python as a plugin. However, it's possible to compile Python to javascript. Most of these transpile individual Python programs to JavaScript, but one, empythoned, actually compiles CPython 2.x to JavaScript using LLVM's JavaScript backend.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:Tail recursion (242 comments)

Tail recursion can be hard to debug - no stack frames to look back at.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:When is python going to support parallel proces (242 comments)

Python the language definition, supports threads fine. CPython the reference implementation, supports threads, but while they work fine for I/O bound workloads, they are poor for CPU bound workloads. However, CPython supports multiprocessing, which uses multiple processes and shared memory; multiprocessing tends to give looser coupling between parallel code units than threading. Jython and IronPython support threads for both I/O bound and CPU bound workloads.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:Loving python (242 comments)

I've commented on python and whitespace enough times, that it became more practical to create a small web page about it: Read it here.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:Multi-line lambdas (242 comments)

You're almost always better off using a generator expression or list comprehension instead of a lambda. Also, multiline lambdas detract from readability.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:Why did Python avoid some common "OO" idioms? (242 comments)

Python is duck typed - no need for interfaces, though it'd be nice to have them in pylint. Python has abstract classes. Python has a weak form of private members.

about a year ago
top

Interviews: Q&A With Guido van Rossum

strombrg Re:GIL (242 comments)

Rumor has it that patches were submitted for removing the GIL from CPython once, but they made uniprocessor workloads so much slower that the patches were rejected.

about a year ago
top

Ask Slashdot: What Language Should a Former Coder Dig Into?

strombrg Commentary on a bunch of languages (530 comments)

C: Overcomplicated, but fast, and useful for extending most other languages

Java: Reasonable, but a bit wordy. Pretty marketable. Performs quite reasonably really, though slow to exec

C++:Probably best avoided unless you have libraries in C++ you must use (in which case you could use Cython)

Objective-C: Useless, except on an iPhone

C#: Another lockin trojan horse from Microsoft. Avoid.

PHP: Awful design. Avoid.

BASIC: Those whom the gods would destroy, first they teach BASIC.

Python: Very nice language to work in. Sacrifices performance a bit in the reference implementation, but pretty fast if you use Pypy. Can be extended using C or Cython. Sometimes off-putting to people who feel that programming "should be complicated".

JavaScript: The assembly language of the web. It's a bit of a mess, but many, many web applications use it. There have been many projects attempting to translate other languages to JavaScript, to make web development less painful. One of them is Python, another is Java. I'd be surprised if there aren't others.

Perl:What a mess! It's much too kitchen-sink. For people whose problem domains aren't complicated enough to keep them entertained, so they need a messy language to make things more interesting.

Ruby:Popular among Java programmers who don't want to use anything but Java. Kinda perlish, but not quite as bad.

more than 2 years ago
top

Linux Support on USB Palm Pilots?

strombrg My experiences with Linux and Palms (54 comments)

At first, I had a Palm IIIxe, which I sync'd serially with two serial cables on two machines. This worked flawlessly.

Then I upgraded to a Tungsten C. At first, this worked great with two Fedora Core 2 machines.

Then I upgraded both machines to Fedora Core 3, and one of the systems continued to work great, while the other would frequently crash during sync'ing.

Then I reinstalled the crashy system with Ubuntu, and things were good again.

As far as PIM software, I've used almost exclusively jpilot, though I did try out evolution's palm pilot support for a while.

more than 9 years ago

Submissions

Journals

strombrg has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?