735 karma · joined March 28, 2012
This is analogous to goto's - programming with goto is a nightmare, but all code 'compiles to' some sort of immediate form using goto's. The goto is not the problem, programming with goto is.
Going higher than 1-order might make it even smarter, but with the cost of taking more memory (increasing the likelyhood of thrashing).
It actually seems like a very novel and interesting approach, although I don't know if it's been done before.
(Quick googling reveals that there is a LOT of work done on this approach, but I don't have the time right now to see if it's a good one or not.)
It's looking pretty damn good to me right now!
For now, you can get most of the way by trying 'pip install X' or 'easy_install X', but there are important edge cases.
It's being worked on for Python 3's next big release, last I heard.
I'm sure there's a way to make it all work nicely, but bash has been doing just fine for me, I don't feel the need to figure out an entirely new configuration system for a tool that ultimately has little new utility in my workflow.
But that's not the real problem with Clipper. The real problem with clipper is their horrible customer service. Here's my story with clipper - and I hardly think I'm alone.
I got my card about a year ago when I was going from San Jose to Redwood City once a week. On their web page I set up an 8-travel auto-pay system where I get 8 San Jose<->Redwood City tickets, and when I run out it buys a new set of 8 automatically.
This works great until one day I missed my stop and wound up in Gilroy (woops). What SHOULD have happened is that I tag off, pay full price for the ticket I actually traveled, and have the 8 ride ticket refunded. If the card 'balance' (non-ticket cash on the card) goes below $0 (or, for them, $1.25 for reasons I don't understand) then it debits my account for the remaining balance.
Instead what happened was my card went 'negative', and they shut down the card until I went to a Walgreens (?!) to pay the remainder of the balance. I was cautioned that paying online could take 1 to 2 weeks to clear the card. Where in the heck did Walgreens come in to the picture? By the way, despite having a banner outside advertising Clipper cards, my Walgreens had no idea what I was talking about. They had to call the GM to call the Clipper people to figure out what was going on.
Fast forward, and now I'm commuting between Millbrae and San Francisco via Caltrain again. I just started at this company and they pay for Caltrain, so I link my Employee benefits clipper system to my clipper card - a process they made surprisingly simple which unsurprisingly completely F'ed up everything.
All of a sudden I can no longer add funds via my regular portal and have to go through the company portal - and get this, though I bought my employee-benefit-purchased monthly pass on Sept 4th, that was too late for September. So I had to go to - you guessed it - Walgreens to buy a monthly pass with cash for the card that could no longer be used online.
I'm hoping that it will work again in October... we will see.
But I'm just guessing -- I don't know too well what a private key would look like in this format.
(That sounded very shill-ish... I'm not associated with these products. <g>)
That being said, I don't feel that any of the reasons given in this post are in any way leading to the conclusion 'Use Perl'. In fact I think all of those points apply to just about every major high-level language today. CPAN is definitely a very high-quality system, but I think nearly every language I use has something functionally similar. The same sort of argument works on the other points, or so it seems to me.
The one exception is the ease of extending the language. I'm not familiar with that functionality of Perl, but I can say that extensibility of the core language is by far my favorite feature of Scheme. If Perl has a similar ability, then I will absolutely concede that that is a powerful feature indeed.
Does anyone have an article on the subject that isn't pointing to such an awful site?
I recommend giving that a shot, but I do completely understand your reluctance. You're right, the absences are jarring!
Obviously that doesn't mean it isn't using a fossil fuel somewhere along the power chain, but I imagine the efficiency isn't much worse than bus routes - and it's not like they need to target the exact same use case, either.
Not that I hold any of this against the car - it was clearly doing the intelligent thing. But people... we are animals.