Forgot your password?
typodupeerror

Comment: Re:The Compiler Knows... (Score 1) 93

by Yunzil (#47715149) Attached to: Interviews: Bjarne Stroustrup Answers Your Questions

You're entirely missing the point while getting hung up on 'repeating'.

Why should I have to write something like this:

std::map<std::string, std::map<std::string, foo_t>>::const_iterator ci = some_complex_map.begin()

...when the compiler already knows what the type of 'ci' has to be and in fact will bitch at me if I get it wrong (perhaps it's supposed to be bar_t instead of foo_t)? At that point you're just jumping through hoops to tick some box in the parser's innards.

A lot of the time, as in your example, you don't even care what the type is. You're just looking for a thing in a thing container.

Comment: Re:Teaching Windows/Linux (Score 1) 568

by Yunzil (#47702785) Attached to: Munich Reverses Course, May Ditch Linux For Microsoft

but they seem to get it pretty well, at least as well as Windows.

No, they don't, it's just that the Linux enthusiasts think they do. Which is kind of the point. One personal example: I was trying to figure out how to turn on focus-follows-mouse in Ubuntu, and I couldn't find anything obvious, so I googled it. Turned out there's like 3 different way to do it, at least one of which requires installing additional packages. Who thinks that's user-friendly?

Comment: Not so much memory management (Score 1) 637

by Yunzil (#47616283) Attached to: Ask Slashdot: "Real" Computer Scientists vs. Modern Curriculum?

I think it's not just about memory management but more about understanding what's really going on in the CPU while your program is running, and memory management is just a part of that.

Some of this stuff is still very relevant today. If you want to understand how a buffer overflow exploit works you need to understand what's happening in your program at the level of bits and bytes in the processor.

It wouldn't hurt to take an assembly language course, preferably one that uses some small 8-bit processor. Nothing gives you an appreciation for the mountain of layers of software piled on top of the CPU these days like having to write your own function to divide two numbers.

White dwarf seeks red giant for binary relationship.

Working...