Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment Re:fast, efficient code? (Score 1) 37

I was trying to respond with a perl code example showing some features it has -- which are admittedly optional -- to write readable code, but slashdot is refusing to let me post them because of it's "Lameness Filter", which I think has actually let quite a bit of lameness through.

Comment Re:fast, efficient code? (Score 1) 37

You've no doubt had much occasion to experience this shittiness in your 20 years of experience, but nevertheless you see, the reason I am objecting here is that the example that springs to your mind of a perl oddity is one of the things that in point of fact never causes a single problem, and it seems peculiar that you can't come up with a more cogent criticism, particularly when one takes into account your 20 years of experience.

Comment Re:fast, efficient code? (Score 1) 37

I've been a perl programmer for decades, and the number of hours I've spent debugging issues with automatic type conversion are in the single digits, and the number of problems I've encountered with string-to-numeric conversion is literally zero

How nice for you. You must not be writing very interesting or complex software.

On more complex software you tend to use an object system that does additional type-checking for you (usually "Moose", "MooX" or possibly "Mouse"... like I said about lack of standardization...).

But I'm completely serious about this point: the perl culture has never been fanatic about the way it does things, and there are any number of issues where it was decided that things were too loose and needed to be tightened up: string-to-number conversions are emphatically *not one of them*. They don't even throw a warning, not even running with "use warnings" on (you heard of strict and warnings, right? In your 20 years of experience?).

There's something profoundly weird about the strong-typing-or-death fanatics... they've got a bad case of obsessive compulsive disorder and using a string as a number drives them up the wall, even though it *never* causes any problems. Verily, not even you in your 20 years of experience can cite a case where it caused any problems for you.

Comment Re:fast, efficient code? (Score 2) 37

My understanding is that it used to be the fastest dynamic language around, but some others have caught up to it-- it's not something I care about really, I just know it's fast enough I don't need to think about the issue.

I more interested in the fact that it's unicode support is better than almost every other language.

Comment Re:fast, efficient code? (Score 4, Informative) 37

Perl has a much weaker type system, allowing expressions like (3 + "3"). That affects both efficiency and correctness of programs.

I've been a perl programmer for decades, and the number of hours I've spent debugging issues with automatic type conversion are in the single digits, and the number of problems I've encountered with string-to-numeric conversion is literally zero, and if you were burned by something like that in production, I'd ask you why you weren't writing tests.

There are indeed some odd issues you need to deal with when working with perl5, but they almost all revolve around a lack of standardization. There's something profoundly weird about perl critics, they continuously just *make shit up* to fit their narrative...

Comment Re:the opposite is even worse (Score 1) 332

Presumably, they were working on a code base smaller than a linux kernel, and saw no technical advantage in subjecting themselves to git's incoherent user interface. We're talking about hype driven choices here, git is a fine example of the software industry going crazy with a fad and dropping a productivity bomb on itself for six months while trying to figure out how to make the fad work.

Comment Re:Fake news, is a distraction, Trump lost (Score 1) 270

America isn't a direct democracy and never was. It's a constitutional republic. You vote to tell your electoral college member how to place their vote (yes there have been faithless electors, but it has been rare).

Rare, but nevertheless allowed, and built-in to the system for a reason (and I keep wondering who invented that phrase "faithless"...).

Once again, if you guys want to change the system, feel free to try for that, but quit pretending the system is something different than it is.

Comment Re:And flat look [Re:Infinite web pages] (Score 1) 332

Flat isn't necessarily a problem, but having no borders at all could be.

I'm not gonna argue about that one. I insist on using a light-on-dark color scheme myself, and half of the time those clevely designed buttons are literally invisible. I often make a guess that there's something to click on in a blank space that I see, and just try it experimentally.

Comment perl programmers are (mostly) immune to hype (Score 2) 332

I'm a perl programmer, almost by definition I don't get hired by places that insist on chasing the new shiney.

The tendency of programmers in general to be as trendy as a bunch of teenagers has not been lost on me, however (like I said, I'm a perl programmer).

Somewhat more disturbing is a tendency of perl-culture in general to be a bit faddish... one year it's inside-out objects, the next year it's the Moose family, one year Module::Build is the greatest, the next Extutils::Makemaker has made a comeback and no one wants to hear about anything else, one year ORM are the bees-knees, the next it's the NoSQL fad, then it suddenly dawns on people you don't really want to try to do schemaless data...

Comment Re: Block everyone or the driver? (Score 1) 291

Obviously the phones just need to look around and track the people in the immediate environment, and report it back to their central control.

It's a safety feature.

(They could also summon a hit-man to take out phoney-drivers before they kill someone-- but I must not think bad thoughts, even if I am a cyclist who's tired of looking to the right and seeing the guy passing me too close staring down at a little glowing box.)

Slashdot Top Deals

It has just been discovered that research causes cancer in rats.

Working...