646 reputation
210
bio website
location
age
visits member for 1 year, 11 months
seen 8 hours ago

8h
comment Should the commit history be used to convey critical information to developers?
@Klors I was thinking the same thing, but in my opinion, the unit test should demonstrate the reason for using v2 over v3, that way if the unit test passes with v4, you don't have a unit test that requires v2 for no reason.
Jul
25
comment What are some version control systems based on different concepts than Git, Mercurial etc?
the FTP version control system works very different, every user has the access to the same files and hopefully they don't overwrite each other's work.
Jul
3
comment Redundant function to clarify purpose?
"Now, my user would naturally ask himself what happens if this function is called multiple times." - what does it actually do?
Jun
11
asked Circular dependency and object creation when attempting DDD
May
20
comment Retried Operation with generic Exception
It will re-throw whatever exception was originally thrown.
May
20
answered Retried Operation with generic Exception
May
8
comment The best way to open source my website
1. Don't bother with this, 2. Contact a lawyer
May
2
comment How to (or should I) have one assert per test with object comparisons?
If you're not using the Equals and GetHashCode in the for production code, then I would not add it specifically for the unit test.
May
2
accepted How to enforce implementation of interface to behave a certain way
May
1
comment How to enforce implementation of interface to behave a certain way
@EnvisionAndDevelop I am looking for ways to communicate intent. Suppose two people are creating code, one person writing front end stuff that uses an interface, and a back end person that's implementing it, just as a way for the two to communicate through code. I'm not suggesting this is the most practical solution to the problem at all, just a curiosity.
May
1
comment How to enforce implementation of interface to behave a certain way
@Telastyn Maybe I should build a program that beats people with sticks instead.
May
1
revised How to enforce implementation of interface to behave a certain way
added 170 characters in body
May
1
asked How to enforce implementation of interface to behave a certain way
Apr
30
comment Are random number generators security holes?
If you're using the output from RAND in a cryptographic sense, meaning not predictable, then yes it's a security risk. It depends on how it's intended to be used. If you're using it to display a different banner ad, then no.
Apr
30
answered Should I use an Exception in a case like this?
Apr
29
answered How should I handle exception that *should* never be thrown?
Apr
29
comment How should I handle exception that *should* never be thrown?
@elimirks There's no guarantee that in the future your deviation could not cause problems. If it should never happen and it does, and your application crashes, you should hopefully have a stack-dump to help you debug the issue. If you remove all your checks, you will get a simple NullReferenceException and your code will be clear.
Apr
29
comment How should I handle exception that *should* never be thrown?
If it should never happen, and you cannot handle it, you should let the application crash. It is best to let an application die instead of letting it continue in an undetermined state.
Apr
29
answered Should classes that define settings and application configuration follow SOLID?
Apr
25
revised Should I be using OOCSS in a CSS theme?
added 28 characters in body