Reputation
1,399
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 9 18
Newest
 Yearling
Impact
~79k people reached

Jun
14
awarded  Nice Answer
Jun
14
revised C# foreach improvements?
added 1 characters in body
Jun
14
answered C# foreach improvements?
Jun
8
awarded  Caucus
May
25
answered Are we always supposed to create a setup to deploy or application?
May
23
comment Can I legally use the icon of a different software?
@Rotem That's not true. The icons for CS and CS2 were very different from CS3, 4, 5 and 6.
May
16
answered Is the 14th line of The Zen of Python a reference to Dijkstra?
May
15
comment Why is 24 lines a common default terminal height?
@StevenBurnap Isn't 80X25 exactly 2000?
May
14
awarded  Fanatic
May
10
awarded  Good Question
May
6
comment Trying to sort the coefficients of the polynomial (z-a)(z-b)(z-c)…(z-n) into a vector
@NollieTré You should change your notation if that's the case. It very much looks like the roots are the positive integers up to an including n (especially with the example you gave). That said, with the roots as arbitrary complex numbers, I doubt you're going to find a predictable pattern to find the coefficients. You'll likely just have to do the expansion. Matlab should be able to do this very quickly for you though.
May
5
comment Is it bad practice to name an unused variable with a single underscore?
@FrancescoDeVittori I meant in instances where var is unnecessary but used to shorten a declaration. E.g., why write Dictionary<string, int> dict = new Dictionary<string, int>() when you could write var dict = new Dictionary<string, int>()? Here var isn't required, but it's solely used to remove clutter from the code. And similar to using _, using var too often can produce difficult to read code.
May
5
awarded  Popular Question
May
4
comment Is it bad practice to name an unused variable with a single underscore?
@NickChammas Thank you, I didn't know that.
May
4
awarded  Nice Question
May
4
awarded  Student
May
4
asked Is it bad practice to name an unused variable with a single underscore?
Apr
30
comment How can I keep my visualstudio database project in sync with my database?
The second solution is, in my opinion, the best solution. You can set up a deployment process that only takes one click. Editing your files in Visual Studio will automatically check them out of source control. I've worked with the first method, but it's difficult to always do schema compares. Plus, at least for me, the schema comparison tool crashes Visual Studio a lot.
Apr
26
answered Determining if an Algorithm is O (log n)
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.