How much code documentation is a symptom of bad coding (i.e. poor method or variables names, poor class or package structure, missing logging, etc)?
What are the cost vs. benefits of creating interfaces and how should they be balanced? I am only considering cases where interfaces are optional and aren’t needed.
Is it more secure to allow the browser to save a website password or prohibit the browser from saving the password?
- Spoof websites are more easily detected because the username and password don't show up (this may be a mute point if the username is saved but not the password).
What should be in a source control commit message for a single file add?
- Reason: The reason for the file should be in a comment in a file so it would be a duplicate to also include in the commit message.
- File add: Already part of the commit
- Issue identifier
Can java.util.concurrent.lock.Lock detect deadlocks caused by two threads acquiring the same locks in a different order
Could java.util.concurrent.lock.Lock use a static list of all threads that have locks and ThreadLocal locks lists to know about all in use locks and then check for incorrect order when lock() is called.
Check the ThreadLocal list and if there are no other locks then proceed.
Do a "requirements document" and "design document" use an outdated format? Is one monolithic document the right way to handle that information? Are there better ways to handle that information?
Consider this idea:
When interviewing candidates (only 3-4 interviews) I would ask them the following question:
What kind of programming work do you like best?
They always gave then same basic answer: Creating new software.
Since that isn't the answer that I would give I asked my co-workers and between 4 of us we had 3 different answers:
- Creating something new
- Debugging problems
- Improving (ad
On a real-life desktop I will often move toward an object to work with it. i.e. When I want to look at the calendar I will move closer to it. That allows better use of my desktop because some objects are "zoomed out" and therefore take less space (in my field of view). I received an iPod Touch for Christmas and the zooming of web pages and pictures works well.
How much paper would be saved each year it Microsoft changed the default margins in Word to 1" on each side (or even 1/2")? Remember that when you choose your program defaults.
[prettify] <form name="doForm" action="" method="post"> </form>[/prettify]
submit. But Tomcat showed the request as a GET (I.E. 7 is my browser).