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

 



Forgot your password?
typodupeerror

Comment Deus Ex (Score 1) 159

Deus Ex (the first one, not the horrible sequel) deserves a spot. It really revolutionized the FPS as a contender in immersive gaming and in integrating the providence of choice. Many FPSes these days owe their design characteristics at least in part to Deus Ex.

Comment Hungarian Notation (Score 1) 731

While TFA accurately points out that in most modern IDEs, you can point at a variable and see what data type it is, thus making Hungarian notation not needed, I disagree that Hungarian is deprecated.

Few points:
If I am reading code, I don't want to stop and point at variables to see what types they are.

If I am doing a code review of printed out code or emailed code, I don't even have an IDE.

And perhaps the most important: If I see something named pSomeValue but it holds data values itself instead of a pointer value (something you can usually see fairly easily in code when being misused) then I question it immediately and often find bugs right away. If on the other hand it was named "SomeValue" that wouldn't be the case. I may actually think it's being used correctly.

Hungarian notation is as much as it ever was, one of the signatures of a programmer who knows what he's doing. (Or she!)

Comment Re:Another one (Score 1) 1010

How was he "clearly" running XP? If you disable the Aero interface, Vista looks almost pixel-for-pixel like XP. Yet, it still has some of the better functions Vista has to offer, like search on the Start Menu, or better driver pooling or better application execution protections. I find it amusing you imply the business man was clueless when the reality is probably exactly the opposite.

Comment Re:Mudflation? (Score 1) 173

That's no so much the case anymore. While the underlying geometry for armor hasn't changed much, they are doing a much better job nowadays of creating varied looks and designs for them, plus they are adding more and more fluff, like particle effects, environmental-mapped reflective maps, etc to them. The old addage of "hey my bent mace looks just like your bent mace!" has really gone out of the window these days.

Comment Re:the greatest regex trick I ever learned (Score 1) 516

It's called a "non greedy" match.

.* is "greedy" in that it will match the *most* characters it can until it can match no more.

.*? is "non greedy" in that it will match the *least* amount of characters it can to satisfy the equation.

And I too often forget about it and write hellacious regexes only to be looking at them later and realize how much I overcomplicated it.

Slashdot Top Deals

The reward of a thing well done is to have done it. -- Emerson

Working...