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

 



Forgot your password?
typodupeerror
×

Comment Re:Apples and Oranges? (Score 1) 630

> I still shudder about a self-taught contractor who wasted weeks trying to write a sort.

Ha, indeed. I was self-taught initially, starting to code as a hobby at around 12 years of age. I specifically remember the first time I had a problem where I had to sort stuff, in Apple 2 BASIC. It took me a while to "invent" what I later learned was called "bubble sort". I learned a lot from figuring stuff out myself, but I have no doubt now that my high-school CS classes (using Pascal) and my later CS degree had a huge positive effect on my abilities to design and code.

Comment Re:The same on any OS (Score 1) 176

Relax. I mean you no harm. I was merely pointing out that your earlier statement, "100% not true for LINUX/UNIX" was, it seemed to me, incorrect. I displayed code that, on my Linux box, demonstrated my point. The language spec does, as you correctly claim, leave it to the compiler the details of how to implement this.

Comment The same on any OS (Score 1) 176

Compile and run this on your Linux box. This is common enough that it's good to know what happens under the hood. In particular, consider the code path that would have to be taken in order to call global constructors *without* using pre-main hooks. (Note: I had to play with angle/square brackets to get the include line to stay untouched by html.)


#include [cstdio]

class Foo {
public:
    Foo() {
        puts("Before main.\n");
    }
};

static Foo gFoo;

int main(int argc, char* argv[]) {
    puts("In main.");
}

Comment Re:Maps and textures instead of video feeds (Score 1) 72

> Wouldn't it be infinitely cheaper and just as effective at keeping the upgrade treadmill running and the pirated copys stopped to merely upload maps and textures, rather than trying to run a whole video connection across the net?

The video-connection approach means any game engine can be adapted to or built for this model fairly easily without any specialized content download infrastructure.

Slashdot Top Deals

Term, holidays, term, holidays, till we leave school, and then work, work, work till we die. -- C.S. Lewis

Working...