Comment Re:It's Called S.E.X (Score 1) 811
one hand on an my revolver, half looking at them and half looking at my computer screen.
Is that what the kids are calling it these days? Whatever floats your boat, I guess.
Comment Re:summarizing the article for you... (Score 1) 461
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
Comment Re:Not good enough (Score 1) 663
Get a keyboard that's hard wired. Might I recommend the TypeMatrix?
Comment Re:I would add another problem (Score 1) 663
Using a program called AutoHotKey I have remapped CTRL ; to CTRL C and CTRL Q to CTRL V
Not only have I not given up their easy access, but I find them easier to use now.
Comment Re:TypeMatrix (Score 1) 523
And switching to Dvorak (which I did not do at the same time, actually) was easily the best thing I ever did for my hands.
Comment Re:Mudflation? (Score 1) 173
Comment I like it (Score 1) 532
Comment Re:Works For Me (Score 4, Interesting) 532
Comment Re:the greatest regex trick I ever learned (Score 1) 516
.* 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.
Comment Re:Not a trick, but a question. (Score 2, Informative) 516
The only reason
HTH