All Questions
15
votes
42answers
527 views
When did you know it was time to leave your job?
Every job has its ups and downs, but sometimes it just isn't worth it to stick around. I'm currently in one of the "down" points with my current job and debating whether or not to …
10
votes
16answers
104 views
Most useful free Java libraries?
I've never seen a good list of free Java Libraries, so here's mine.
Name: Guice
Website: http://code.google.com/p/google-guice/
Purpose: Dependency Injection, ease of …
67
votes
133answers
3,062 views
What is the one programming skill you have always wanted to master but haven’t had time?
For me, I've always wanted to finish the O'Reilly "Mastering Regular Expressions" book. When I need a Regexp, I manage to get the one I need eventually, but it takes more effort th …
37
votes
26answers
954 views
What is the longest human name you can expect?
What is the longest name that you should expect to get as input to your program or database? I don't want to truncate unusual names, but I also don't want people to paste a novel i …
1
vote
9answers
48 views
Can I use a generated variable name in PHP?
I have a bunch a values I would like to add together which are entered into a form. Right now, the form has 11 lines but it could get larger in the future. I can easily add all the …
6
votes
11answers
183 views
What does “0 but true” mean in Perl?
Can someone explain what exactly the string "0 but true" means in Perl? As far as I understand, it equals zero in an integer comparison, but evaluates to true when used as a boolea …
19
votes
18answers
625 views
Why is try {…} finally {…} good; try {…} catch{} bad?
I have seen people say that it is bad form to use catch with no arguments, especially if that catch doesn't do anything:
StreamReader reader=new StreamReader("myfile.txt");
try
{ …
-2
votes
6answers
198 views
Why aren’t people searching the web or checking Wikipedia before posting questions?
Yes it may be good to post a question you already know the answer to, just to see what other peoples answers are. But, don't forget to search the web or Wikipedia before posting it …
7
votes
4answers
92 views
throwing exceptions out of a destructor
Most people say never throw an exception out of a destructor - doing so results in undefined behavior. Stroustrup makes the point that "the vector destructor explicitly invokes the …
6
votes
7answers
198 views
What is declarative programming?
I keep hearing this term tossed around in several different contexts. What is it?



