1,379 reputation
1918
bio website
location New York, NY
age 26
visits member for 3 years, 8 months
seen 7 hours ago

Apr
25
comment The bracketless if statement is frowned upon, but is it still bad style if your IDE is equipped for it?
+1. It's definitely not universal preference, and it confuses me when people assume it is. I definitely don't buy that people would mistakenly add a second line to an if block without realizing it will always execute.
Apr
25
comment The bracketless if statement is frowned upon, but is it still bad style if your IDE is equipped for it?
@WernerCD Of course vim does. Use the autoindent option, which I believe is enabled by default. I'm not saying you can't find an editor that doesn't do it, just that "most IDEs/editors don't" is probably incorrect, and the opposite is probably true.
Apr
25
comment The bracketless if statement is frowned upon, but is it still bad style if your IDE is equipped for it?
Most IDEs don't do automatic indentation? I can't think of a single one that doesn't. Even text editors like gEdit and Notepad++ do this.
Apr
23
comment Magic square check for N×N matrix with minimum complexity
The title says an NxN matrix, so I would assume n refers to the side length. Just curious, can you prove that you can't do better than O(n^2)? It doesn't seem obvious to me.
Apr
19
awarded  Enlightened
Apr
19
comment Use of pdb file in release build executables
Your real question seems to be, "Will compiling with the /Zi option change the outputted executable?", which I don't think is on topic for this site.
Apr
18
awarded  Analytical
Apr
18
awarded  Autobiographer
Apr
18
awarded  Nice Answer
Apr
18
revised Should a new programmer focus on a single technology until he's proficient at it?
Fixed title, added tags.
Apr
18
suggested approved edit on Should a new programmer focus on a single technology until he's proficient at it?
Apr
18
awarded  Critic
Apr
18
awarded  Supporter
Apr
18
answered Should a new programmer focus on a single technology until he's proficient at it?
Apr
11
comment Difference between “String” and “string” in .NET and which is best?
@Gabriel No, String (and hence string by alias) are reference types.
Apr
9
comment Any basic difference between Unix and Linux in design and other aspects?
@YannisRizos Ah okay. That makes sense. Thanks for the information.
Apr
9
comment Any basic difference between Unix and Linux in design and other aspects?
Interesting, apparently the latest version of OS X is not "officially" UNIX.
Apr
7
comment Learning functional programming
This should be closed. "What should I learn next" questions are made explicitly off topic in the FAQ.
Apr
7
comment How were some language communities (eg, Ruby and Python) able to prevent fragmentation while others (eg, Lisp or ML) were not?
@Sonia It can be a bad thing. For example, a library written for Python almost certainly doesn't depend on the implementation, whereas a library written for Lisp may not work in Scheme.
Apr
6
answered What are the names for various forms of camel-case style naming?