820 reputation
1720
bio website
location
age 28
visits member for 2 years, 9 months
seen Nov 19 at 10:54

When I was five years old, I wanted to learn how to read. Afraid that I might get bored in class if they'd allow that, my father decided to teach me how to play chess and my mother showed me how to get our Commodore 64 to repeat my name over and over.

10 PRINT "VIRTLINK"
20 GOTO 10

I was much more interested in the Commodore than in chess and from Commodore Basic through QBasic, Visual Basic I worked my way up to C#. This was all self-taught until I decided to follow an education in Computer Science after getting my Building Sciences degree.

I have a bachelor's degree in Building Sciences (BBE) and Computer Science (BSc), and I am currently working on getting my Computer Science master's degree.


Sep
30
awarded  Explainer
Aug
6
awarded  Famous Question
Jul
2
awarded  Curious
May
2
comment How to pick the testing values for parameterized tests for stateless functions?
You're mixing up implementation and specification. I can specify that Clamp() will return value when it is between lowerBound and upperBound, lowerBound when it is less than lowerBound, and upperBound when it is greater than upperBound, an throws an exception when upperBound is less than lowerBound. Without assuming anything about how I'm going to implement this, how can I pick the most convenient values? And I'm looking for a strategy for any stateless function in general that you know the specification but not the implementation of.
May
2
comment How to pick the testing values for parameterized tests for stateless functions?
Almost every paragraph you're making assumptions about the supposed implementation of Clamp(), which you and I don't know (since I haven't implemented it yet). For example, I might make a mistake with signed/unsigned comparisons, or I might distinguish between positive and negative values, and somehow completely forgot about 0. You can't make any assumptions about the implementation. However, I agree that I could specify what Clamp() is supposed to do, but I'm searching for a general way to determine the test values. My mathematical class will contain more functions than just Clamp().
May
1
comment How to pick the testing values for parameterized tests for stateless functions?
While 343 test cases seems like a lot, I'm not saying it is too much or not feasible. Indeed, automation is the way to go here. But the question was more along the lines of: what strategy can I use to pick the best values for my test cases?
May
1
asked How to pick the testing values for parameterized tests for stateless functions?
Mar
31
awarded  Popular Question
Feb
22
awarded  Yearling
Dec
15
awarded  Notable Question
Nov
18
answered C# String.format extension method
Sep
17
comment More efficient way to paginate search results
@AaronKurtzhals Sure, just not my question.
Sep
17
comment More efficient way to paginate search results
Getting page 16 takes longer than getting page 1, according to this question. It has to count records from the start every time, making it a Schlemiel's algorithm. Maybe its just not that noticeable in small data sets and small offsets.
Sep
16
asked More efficient way to paginate search results
Aug
26
awarded  Popular Question
Jul
23
awarded  Notable Question
Jul
21
awarded  Nice Question
Jul
13
awarded  Good Question
Jun
11
awarded  Notable Question
Apr
9
comment Using scoped enums for bit flags in C++
Another downside of weakly typed enums is that their constants pollute my namespace, since they don't need to be prefixed with the enum name. And that may also cause all kinds of weird behavior if you have two different enums both with a member with the same name.