polls

Worst security hole you've seen?

What is the worst security hole you've ever seen? It is probably a good idea to keep details limited to protect the guilty. For what it's worth, here's a question about what to do if you find a security hole, and another with some useful answers if a company doesn't (seem to) respond. ...

Dangers that threaten a project near completion

I'm working on a project that took quite a long time to build, and now it's near completion. What are the specific dangers that might threat a project in its completion stages? What are the most overlooked aspects that I must be concerned about near the completion of a project? ...

Constructing a good customer survey

What questions can I ask and what other considerations are important to make this survey effective, so that people actually fill it out? I will be distributing it only to existing customers of my small e-product, to collect testimonials and other general information from my customer base. I plan on using Google Docs to conduct the surve...

The Pragmatic Bookshelf Effectiveness

I'm going to convince our managers to order Pragmatic Programmers bookshelf. If I backup my idea with some success stories from you or your company, I think they'll listen more carefully :). Or maybe vice versa: if you say it was total waste for you, I may give up with my intention. Wanted to ask this question directly to /\ndy Hunt, bu...

What do you find to be difficult and frustrating about managing software development?

If you ever managed a software development effort or parts of it in any capacity when what bits did you find difficult or frustrating? What did happen at the end? UPDATE: It would be nice to hear some actual stories as opposed to "geeks are difficult people". Thanks! ...

Best program you have written in assembly language, so far?

Back to the golden days of Assembly language. As we know, assembly language is a low-level language with many hidden powers in it. If one can program well in it, many powerful and useful application can be developed from it. Which was your best application or program that you have developed so far, or even one you are currently develo...

What could be the next evolution after OOP?

Today we can look back on the evolution of computer science and see structural programming, functional programming, and finally object-oriented programming. Additionally, things like meta-programming (reflective programming) and combining approaches into a single language (e.g. LINQ) are current. Another trend is template-meta-programmi...

Closable or Closeable?

I'm adding a boolean property to a class to indicate whether something is able to be closed. Searching around I see precedent for using "closeable" and "closable" to name such properties. Which is preferable and why? ...

What do you use to make programming flowcharts, diagrams, etc?

I've always just used OpenOffice Draw and it just occurred to me that there has to be something better out there. So what do you use? Do you like it? Bonus points for free things and for web apps. ...

Weaknesses of Hibernate

I would like to know which are the weak points of Hibernate 3. This is not pretended to be a thread against Hibernate. I think it will be a very useful knowledge for decide if Hibernate is the best option for a project or for estimating its time. A weakness can be: A bug Where JDBC or PLSQL are better Performance issues ... Also, ca...

Ways to fill a list in Java

Hi, I would like to know your opinions on which you find is a better approach to have a list filled up by a different method. I know there isn't a definite answer, but I would like to see reasonable pros and cons. Approach 1. private List<Snap> snapList; snapList = getSnapList(); Approach 2. private List<Snap> snapList = new ArrayL...

Is PHP suited for Enterprise Application development ?

Is PHP suitable for Enterprise Application Development ? ...

Pragmatic Programmer Techniques - who, what, where...

Few questions. But all very much related. 1) How many of the SO crowd are using 'pragmatic programmer' tools/methods/techniques including, but not limited to (some of the obvious): a) Source code control system. b) Active use of branching, tagging with SCS. c) Task/Bug tracking (integrated with SCS). d) If DB development is involved, l...

Can you get a job thanks to your Prolog skills?

This Prolog question is introduced as an interview question. Can you get a job thanks to your Prolog skills? Is it used in the industry? (ok, ok, a job can be out of the industry too). ...

What is the most efficient way to repeat an action every x minutes?

I have an application that runs in JBoss. I have an incoming web service request that will update an ArrayList. I want to poll this list from another class every 60 seconds. What would be the most efficient way of doing this? Could anyone point me to a good example? ...

Patterns to mix F# and C# in the same solution

I studied few functional languages, mostly for academical purposes. Nevertheless, when I have to project a client-server application I always start adopting a Domain Driven Design, strictly oop. A complex solution written in a .Net framework could get advantages using more than a language and sometimes more than a paradigm. Mixing C or ...

What was your favorite assembly language?

What was your favorite assembly language? ...

Which shopping cart module can you recommend?

I am looking for a customizable web shop / shopping cart platform (Could be open source or not). Does anyone have specific recommendations? ...

Example of code generator you made from scratch?

What are some examples of code generators you have used? I think it's a cool idea, but I have trouble thinking of things they can do besides make a class based on an object's attributes/database schema (as described in The Pragmatic Programmer). What language did you write them in and what language did they output? Edit: Thanks for th...

Strangest language feature

What is, in your opinion, the most surprising, weird, strange or really "WTF" language feature you have encountered? Please only one feature per answer. ...