Reputation
221
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 5
Newest
 Commentator
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 63 votes cast
Jul
31
answered Best pattern for manager class that handles syncing objects between client and server
Jul
10
awarded  Commentator
Jul
10
comment Should my (sequential) collection start at index 0 or index 1?
Actually the zero-based and one-based indexes have to do with how the array is constructed in memory. Zero-based indexes use external memory (external to the array) to determine size, while one-based indexes use internal memory (index 0) to remember the size of the array (usually, anyways). It's not popular for "the size of the object" but usually has to do with how the memory is internally allocated for arrays. Regardless, I wouldn't recommend recklessly leaking bytes here and there "just because." But dictionaries are usually a better idea anyways.
Jun
23
awarded  Critic
Jun
23
answered How safe is it to compile a piece of source code from a random stranger?
Jun
2
comment Time estimating of a complex bug investigation (not a straight-forward one)
Exactly. A team I recently worked on had some agile software, and we tried assigning points (estimated work effort) to defects, and it always came in vastly under or over. Oh, that looks like a 1 point defect. 20 hours later...
May
27
comment Is it good that testers are competing to see who opens more bugs?
Having come from a project more than a year long with meticulous QA, I can say that, while defects about having too much white-space between elements or different colored symbols that mean the same thing might seem unproductive, they ultimately enhance the user experience, often improving productivity, reducing the load on technical support, and giving a more professional look and feel to an application, all desirable traits. And, yes, sometimes software will be delayed because of it, but the price to pay is usually worth it.
May
21
comment What is the maximum number of steps to find a bug using bisecting?
You're right. I meant to say that a simple binary search along a linear history is ask that's required to find bugs. Edited.
May
21
revised What is the maximum number of steps to find a bug using bisecting?
added 7 characters in body; added 27 characters in body
May
21
awarded  Yearling
May
21
awarded  Editor
May
21
revised What is the maximum number of steps to find a bug using bisecting?
added 754 characters in body
May
21
answered What is the maximum number of steps to find a bug using bisecting?
Apr
5
comment Licensing of content created by licensed code
I have an example of a licensing agreement that included such a limitation, actually. The Visual Studio Express IDEs, available for free from Microsoft, were for personal use only. You were not allowed to redistribute any application compiled by those IDEs. You had to purchase an actual copy of Visual Studio in order to sell/distribute the apps created by it. The latest incarnations of Visual Studio do not have this requirement anymore (that I could find), but that EULA was probably around for a decade or more.
Feb
28
answered Bad sign if nobody can comprehend one's code?
Feb
26
comment Is it premature optimization to add database indices?
Specifically with databases, it's usually recommended to turn indexing off before a major update, then resuming the indexing after. Even if this a production database, you may have a specific time when you should choose to turn on or turn off indexing. Indexing or not indexing is a feature of performance tuning. Indexing speeds up reads and slows down writes. Not indexing speeds up writes and slows down reads (assuming the indexes are out of date).
Oct
30
comment What exactly is a business rule?
Ask me and you'll get up to six opinions. Business rules are fickle at best, even when based on laws or procedures. The precise circumstances will depend on who's asking, what's being done, and what policies are in effect. Rules are not meant to be broken, and so business rules often dictate things that otherwise often don't make sense-- because some law requires it or some policy forbids it, whatever "it" may be.
Jul
19
comment Should we avoid using design patterns in constantly changing projects?
@immibis Good point. We have multiple teams, one for each major technical asset, and we often build interacting API's. But the stakeholders should write only the general "story" or requirement and let the independent groups/developers collaborate together based on documents and technical knowledge to build the final result.
Jan
27
comment Is it a bad idea to return different data types from a single function in a dynamically typed language?
My two cents: I hate it when that happens. I've seen JS libraries that return null when there are no results, an Object on one result, and an Array on two or more results. So, instead of just looping through an array, you're forced to determine if it's null, and if it isn't, if it's an array, and if it is, do one thing, otherwise do something else. Especially since, in the normal sense, any sane developer is going to just add the Object to an Array and recycle the program logic from handling an array.
Oct
25
awarded  Teacher