Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:How much is it C++ and how much the compilers? (Score 1) 757

Two C++ programmers will argue, 'What will my compiler do with this code?"

You have a very good point, but that's less about the language and more about the compiler. Arguably the most broken compiler was (and likely still is) Microsoft's Visual C++.

But somehow C# is "fixed". LOL.

I argue the exact opposite! C++ the programming language leaves way too many decisions to the compiler implementer. A better specified language, such as Java, Ada, Eiffel, etc, doesn't have that problem of different compiler interpretations of the standard.

Comment Re:How much is it C++ and how much the compilers? (Score 5, Interesting) 757

Bad programmers can produce bad code in any language, including one as well/thoroughly specified as Ada. The difference, though, is that what that code actually does is less subject to interpretation by the compiler.

I've observed that two Ada programmers will argue, "Is this program legal?" If the program is legal, they both -know- what the compiler will do (modulo the rare compiler/optimizer bug, which was usually caught through the stringent compiler validation.)

Two C++ programmers will argue, 'What will my compiler do with this code?"

Comment Re:A '70s idea whose time is long past (Score 1) 564

An OS could choose to make these attributes protected, i.e requires 'sufficient privilege' (e.g. root) to change.

The file extension is not "simple and descriptive" for a file type you've never seen before. Hence the existence of sites that translate those TLAs into a description, often overloaded, of what they might mean.

The other problem is that the file extension conflates content and implicit creator/handler. A text file is a text file, there's nothing special about NotePad, SimpleText, EMACS or (shudder) vi as the creator/handler for text files.

Comment A '70s idea whose time is long past (Score 1) 564

The idea of using file name extensions as a means to denote content/application association dates to the 1970s (or even earlier). It's an idea that deserves to die, along with Disco music.

Mac OS 9 and earlier got the OS/file system mechanisms right, with two file attributes. One denoted the contents of the file, and the other denoted the default (usually creating) application.

The challenge for OS designers is how to present this information to the user in some meaningful way. Cryptic text strings at the end of file names aint' it! And the ease by which these can be changed (particularly by malicious programs) are a bug, not a feature. If there's a way to prevent these attributes from being mis-applied/forged, that would be a real accomplishment.

Comment Until Sony caved, yes.... (Score 2) 589

I was planning to go see this, not that I'm interested in the movie, but to show that I won't kow-tow to terrorists and extortionists. But since Sony has caved by deferring its release, Sony has joined the ranks of the chicken-droppings.

Several sites have called for Sony to release this on the Internet, and that's what I think they should do. And someone needs to make "we don't negotiate with Young Weasel" stickers with Kim Jong Un's face in the background.

Slashdot Top Deals

Neutrinos have bad breadth.

Working...