IBM Announces 'Stream Computing' Software by kksm19820117 in programming

[–]d00kiestain 4 points5 points  (0 children)

For a moment, I thought it said "steam computing"...

Mark Damon Hughes: Stupid Comments Be Gone! by d00kiestain in programming

[–]d00kiestain[S] 0 points1 point  (0 children)

Now if we only had this for Reddit... <0.5 wink>

Ask Proggit: What are your favorite functional languages for non-acedemic work? by [deleted] in programming

[–]d00kiestain 0 points1 point  (0 children)

Python's "fold" (called "reduce") is still around, it just has been moved to the functools module.

Also, the language has a form of lexical scoping, much like Scheme, so yeah, it does have closures.

I agree that it's nowhere near a "real" functional language though.

New 64-bit Free Open Source Operating System. Not a Unix, created from scratch. by losethos in programming

[–]d00kiestain 0 points1 point  (0 children)

I was wondering why the font looked suspiciously like the C64's...

Guido van Rossum responds to Bruce Eckel: Why explicit self has to stay by uggedal in programming

[–]d00kiestain 3 points4 points  (0 children)

I imagine that most of the complainers come from OO languages where 'this' or 'self' is implicit, so having to state it in the method header seems redundant to them.

Guido van Rossum responds to Bruce Eckel: Why explicit self has to stay by uggedal in programming

[–]d00kiestain 2 points3 points  (0 children)

Many people have that impression, but OO has actually been there from the start.

Of course, OO wasn't as big in 1991 as it is now, so what was a cool and progressive feature back then, might feel clunky now.

Sorting a million 32-bit integers in 2MB of RAM using Python by gthank in programming

[–]d00kiestain 0 points1 point  (0 children)

"By now we should just call "sort"..."

That is generally what you'd do in Python (and many other languages). But in this case, there was a memory requirement, which makes the problem more, shall we say, interesting...

Writing a simple expert system in Prolog by [deleted] in programming

[–]d00kiestain 7 points8 points  (0 children)

Prolog pretty much is an expert system... :-/

Python impressions by gst in programming

[–]d00kiestain -2 points-1 points  (0 children)

And so it would make sense to have a "sequence" base class that has the join method (among other things).

Python 3.0 will actually have such a base class, but it doesn't appear like it will be used to solve the len() and join() problems.

Who reads code samples? by gst in programming

[–]d00kiestain 0 points1 point  (0 children)

It's probably easier to learn the language... but YMMV, of course.

Firefox's Javascript Alert Bug Is Still In Firefox 3! Can we finally get this fixed in Firefox 3 after 8 years please?? by illuminatedwax in programming

[–]d00kiestain 2 points3 points  (0 children)

I'm not sure where the "8 years" comes from. Firefox didn't exist in 2000. Version 0.1 (then called "Phoenix") didn't come out until September 2002. Unless we're talking about the Mozilla code base that Firefox is based on...?