in my current tool there is a colored box with some numbers in it. The backcolor of the box is defined by some sort of list but can also be altered by the user. The forecolor (== fontcolor of the numb
I\'ve been learning scheme, and I just realized that I don\'t really know how to properly comment my functional scheme code. I know how to add a comment of course - you add a ; and put your comment af
Should this be represented in the database as 1 table or 3 tables?I and my friend have different opinions about this so I\'d like to see the general views on this.(Maybe it should be a vote for either
I\'m maintaining some code and have found the following pattern a lot: var isMale = (row[\"Gender\"].ToString() == \"M\") ? true : false;
I\'ve seen regex patterns that use explicitly numbered repetition instead of ?, * and +, i.e.: ExplicitShorthand
This code trims whitespace, (fyi: it\'s credited to be very fast) function wSpaceTrim(s){ var start = -1,
What have you found to be the best way to format your ASP.NET markup files (aspx, ascx) for readability? Any tips and/or tricks?
I love doctests, it is the only testing framwork I use, because it is so quick to write, and because used with sphinx it makes such great documentations with almost no effort...
You\'ll appreciate the following two syntactic sugars: lock(obj) { //Code } same as: Monitor.Enter(obj) try {
This is a very open question, but I think it can be very beneficial for SQL readability. So you have a Java program, and you are trying to call a monster SQL statement from it, with many subqueries a