Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Best short programs (Score 1) 204

If you think in terms of as much stuff done in as little characters as possible, there is no competition for PERL.

I think this particular competition though is counting bytes of machine code. I thought I was pretty good myself with reducing a printer driver into 136 bytes, but Chess in 500 that is really something.

Comment Re:Perl, my favorite language is rated higher... (Score 1) 386

Readability always depends on the programmer. Indentation does not give you readability by itself. You need modularity, comments, compactness, good symbol selection, etc. There is so much more to readability. Maybe you just saw a python written by very good programmers, but I saw python scripts written by mediocre programmers and they are not any more or less readable than any other program in any other language that I run through indent.

Comment Re:Perl, my favorite language is rated higher... (Score 1) 386

A lot of sysadmins, devops and product integration people using perl for quick filters so they don't have to learn awk or sed with:

cmd | perl -e 'stmt;stmt;stmt;stmt;stmt' | cmd

You cannot do the same thing in python easily and that is an issue as you mentioned. Another issue is that the whitespace is creating havoc in bigger team and multi-platform projects where people work with many different environments and editors and small whitespace changes are sometimes not so easy to catch and can have code changing impact.

PERL has the write hundred ways quality, but in enterprise you can agree on standard way to write and then a larger team can be more productive in PERL than Python. PERL is also so much better at language embedding if you need to implement core routines in C.

On the other hand Python excels in the new to scripting, small (5) cohesive team market. They got that pretty much cornered now.

Comment Re:Perl, my favorite language is rated higher... (Score 1) 386

PERL has a staying power. Other scripting languages come and go in popularity. Ruby for example. But eventually the large base of PERL programmers turns out new generation of PERL programmers by mentoring and language selection from being in position of senior / principal engineers and architects. Python is still surprisingly staying up there, being propped by Google and few other corps., but if not for Google, Python would go the way of Ruby. There is a slight chance that Python will manage to stay long enough to build a large base of libraries and examples, so that it will stay and maybe even replace PERL eventually, who knows. But you gotta understand that every 10 years or so, all the old languages get a push from the above mentioned change of guard in the development positions.

Comment Re:Can we stop worshipping Swartz already? (Score 1) 189

95% of cases are handled like this. Prosecutor will charge everything under the moon to scare the victim into accepting a plea. It does not matter, what is the size of the sentence, your life is ruined forever. So they don't care how much they actually give you first time, just that you do some jail time and have a record. That's the goal. Tough on crime, so many evil people behind bars. Need to start the governor campaign early on.

Comment Re:Pierce, Buchanan, and now Obama (Score 1) 189

Look, the constitution guarantees you right to petition government for redress of grievances. There is no guarantee for the government to address those grievances. They made a website, you can petition them, so the constitution is served. Move on citizen. If you like your congress representative, you can keep your congress representative. If you don't like your congress representative, tough luck, you are stuck with him anyway. Demagogracy 101.

Comment Re:As Russian (Score 5, Interesting) 265

This guy is not Russian. First of all, he is using the propaganda points that US is spreading in Russia, the fear that China will take part of their territory. It is one of the talking points. Second, he is making homophone mistakes (doubt -> dough) that only native speakers make or sometimes people who use english for 10-20 years or so and he is not making any of the grammar and preposition mistakes common for foreign speakers. It is sad to see our discussion here on slashdot tainted by spooks.

AT&T

'Revolving Door' Spins Between AT&T, Government 61

An anonymous reader sends this quote from the Center for Public Integrity: That AT&T just won an eight-figure contract to provide the federal government's General Services Administration with new mobile devices isn't itself particularly notable. What is: Casey Coleman, an AT&T executive responsible for "delivering IT and professional services to federal government customers," oversaw the GSA's information technology division and its $600 million IT budget as recently as January. ... While there’s no evidence anything illegal took place, the public still should be aware of, and potentially worried about, Coleman’s spin through the revolving door between government and companies that profit from government, said Michael Smallberg, an investigator at the nonpartisan watchdog group Project on Government Oversight. ... Federal government employees leaving public service for lucrative private sector jobs is commonplace. The Project on Government Oversight has called on the federal government to — among other actions — ban political appointees and some senior-level staffers from seeking employment with contractors that “significantly benefited” from policies they helped formulate during their tenure in government.

Slashdot Top Deals

2.4 statute miles of surgical tubing at Yale U. = 1 I.V.League

Working...