Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Fairly ugly (Score 1) 399

+1 for that. Plan 9's code, written in C, has a clean, minimalist aesthetic throughout that makes it dead easy to navigate, skim, or analyze in depth. Files, lines, and functions all tend to be short. Code within functions is often times linear with simple conditionals or loops; there's still complex logic to be found, but far less than other software; more than 4 levels of indentation is uncommon. Even the makefiles are simple and clean.

File, type, and function names are usually short and unambiguous. Variable names average 1-2 letters: r for Request, f for File, to and from for strings. Comments are used sparingly; when present, they give you the salient facts without unnecessary detail. They, too, are mostly short, but longer where more explanation is called for.

With all this brevity, you might expect the code would be cryptic or cramped, but it is extremely easy to follow, with a very "clean" and "natural" feel - easy on the eyes, with plenty of space. You can dive in at any random point and easily understand what is going on and why.

One may, of course, argue that the limited number of hardware platforms supported (half a dozen or so?) and operating systems (one) freed the authors from a huge amount of complexity and allowed them to keep their code simple. Could be. gcc's headers make my eyes bleed, but between POSIX and portability to every hardware and OS known to humanity, it's hard to fault them for it.

Overall, Plan 9's code is the cleanest, the easiest to understand, and possibly the most "beautiful" that I've seen.

Comment Oh, the irony (Score 1) 369

Google reports 'alarming' rise in government censorship requests
By John D. Sutter, CNN

(CNN) -- Western governments, including the United States, appear to be stepping up efforts to censor Internet search results and YouTube videos, according to a "transparency report" released by Google.
"It's alarming not only because free expression is at risk, but because some of these requests come from countries you might not suspect -- Western democracies not typically associated with censorship," Dorothy Chou, a senior policy analyst at Google, wrote in a blog post on Sunday night.
http://www.cnn.com/2012/06/18/tech/web/google-transparency-report/index.html

Comment Keep on Slackin' (Score 1) 183

Congratulations Patrick and crew on another fine release of my first and still favorite Linux distro. Thanks to you guys I never lack Slack. Proud user since... ehmm... 1995... ish.

Comment Come again? (Score 2) 253

> President Obama's staff has admitted to the New York Times that there is a joint Israel-U.S. cybermilitary operation was behind the mishaps Iranians have recently been suffering with their UF6 gas refining centrifuge systems in the Natanz and Fordo plants.

Remind me, when and where exactly did Obama's staff admit this? Is there anything at all besides one article with unsourced allegations?

No doubt the U.S. is behind behind this. But I'm getting damned tired of the shoddy journalism. I've seen so many claims that "the President has confirmed that the U.S. is behind the cyber attacks on Iraq nuclear facilities" with absolutely nothing to back them up. C'mon folks, stick to the facts.

Slashdot Top Deals

A committee is a group that keeps the minutes and loses hours. -- Milton Berle

Working...