Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:what I did (Score 1) 510

Oh well.

My two examples were really of one principle: Code's look should be a hint to its function, and violating that is a problem. The point of the first example, for instance, was not that the 'z' line is necessarily incorrect; the point was that the programmer who wrote it was unclear about her intentions, effectively saying one thing to the computer and another to human readers. This being a problem is not a myth; it's common sense.

Your claim comes down to: No, such violations do not matter (or never happen in practice). You even claim to have some quantitative argument to support that. I doubt the argument will hold -- most such studies conflate to many factors to make strong positions on one language feature or other. And barring such data, your position seems quite irrational.

Comment Re:what I did (Score 1) 510

coding styles or languages have nothing to do with bugs

You have got to be kidding.

In general, managed-code languages killed a whole category of bugs that you find in C/C++ programs.

In particular, Python's "if it isn't properly indented it won't work" approach prevents two kinds of bugs:

1) As noted above, the statement-intended-to-be-under-if-but-isn't.

if (a!=b)
  x = y;
  z = t;

2) The bugs that follow from misunderstanding weirdly formatted code. I have seen code that looks like

if (...) {
  do_something();
  do_something_else(); }
// Note the close brace above
  do_a_third();
  for (i=1; i<N; i++) {
    do_4();
}

Comment RMS: "just" supporting academic boycott (Score 1) 609

In a letter to one of the Israeli Activists, RMS writes:

I saw that you sent an E-mail message canceling
all of your talks in Israel in the upcoming visit.

Not all of them -- only the ones at universities. It is the
universities that the funders object to. I have one planned talk
which is not at a university, which I still plan to give.

Apparently RMS is OK with an academic boycott, as long as he gets to talk to somebody.

Comment Re:He was willing to speak in Israel at all? (Score 1) 609

There are about as many Jews in israel whose origins are in Arab and North-African countries as Jews of European descent. The claim that the state was erected "in order to oppress the people of the region" is patently false.

While Israel has its faults, many of which related to how it treats its internal non-Jewish minority as well as the semi-occupied west bank, your presentation of its origins and current state are completely misinformed and misguided.

In particular, Israeli prime minister (not president) Netanyahu made nothing like the statement you quote for him. His vision for the end of the conflict is unacceptable to Palestinians, but that's ok; no Palestinian leader has ever accepted any solution that is consistent with the existence of a Jewish state in the region.

Slashdot Top Deals

//GO.SYSIN DD *, DOODAH, DOODAH

Working...