23,712 reputation
754137
bio website steveevers.wordpress.com
location Bellevue, WA
age 31
visits member for 4 years
seen 3 hours ago

Currently:

Software Development Engineer in Test (SDET)

Interests:

  • AI
  • Computational Behaviour
  • C#, F#

Dec
18
comment How to represent a geometric line programmatically?
I withdrew my answer, as it doesn't meet the requirement for equal representations in memory, but I would suggest reconsidering or questioning that requirement.
Dec
12
comment Dictionary vs List
I disagree. Dictionary/map is a fundamental data structure that every software engineer should be intimately familiar with. Either way: you would need a justifiable reason to use any data structure; including List.
Dec
10
comment Are verb-like classes a code smell?
I thought Parser and Factorizer (Factorer?) were nouns.
Dec
6
comment Will loop constructs become obsolete?
@MarjanVenema In C#, Enumerable.Range(1, n).Select(i => arrayA[i]... /*...*/ arrayB[i]...). Basically, you can select (map) over the index, and not the items in the collection.
Dec
6
comment Will loop constructs become obsolete?
@FrustratedWithFormsDesigner The opposite could be argued: only when you actually need an index, should you use a for (though, mapi provides an index).
Dec
6
comment Will loop constructs become obsolete?
btw: iterator pattern (ie. foreach) is in a slightly different category from filter/map constructs. It's still imperative.
Dec
6
awarded  Popular Question
Dec
4
comment Starting with BI / Data Analysis
BI/Data Analysis is basically applied statistics. The deep end of which is Machine Learning. If you're looking for the "Where to start" then there's always "Head First Data Analysis". The tools it highlights are what you would expect: Excel and R.
Nov
26
answered Using a function's return value as an if condition, good practice?
Nov
23
awarded  Nice Answer
Nov
21
comment OOP, domain models, and the user
In the second approach, you'll often see a Customer class instead be represented as a Profile. As is with your example, the user/customer can view and manipulate their profile. It's not clear what you're trying to "deal with" though.
Nov
15
comment Making an algorithm more efficient
Many games work in x^2 space so that distance calculations can avoid expensive sqrt operations.
Nov
11
comment Not assigning Bugs to a specific user
For clarification: the individual assigned to value never has a value other than the team? Or will the team will assign to individuals after they have triaged what gets assigned to their team? The latter makes perfect sense.
Nov
11
awarded  Popular Question
Nov
8
answered Running only some of the tests after a code change
Nov
8
revised Side effect-free interface on top of a stateful library
deleted 8 characters in body
Nov
7
answered Side effect-free interface on top of a stateful library
Nov
7
comment Side effect-free interface on top of a stateful library
As for your first example: rnd.next(10) producing different values every time does not have to do with immutability as much as it has to do with the definition of a function: functions must be 1-to-1. (+1 though, good stuff)
Nov
6
comment An intern interview with Microsoft
@SethBattin: That hasn't been done in years.
Nov
6
comment Matching users based on a series of questions
So why doesn't the solution you've tried work? Also, how do you get from (0,1,2) -> 4? What does that imply? If a category indicates a personality trait, why isn't it Boolean? Does the number represent a fuzzy membership? If so, what is the scale (4/5 seems really low)? I think the problem needs to be fleshed out a bit more before approaching the solution.