The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
4answers
397 views

Are `switch` statements generally used wrong? [closed]

I see most developers using switch statements with breaks in each and every case. Is this usage of switch statements inappropriate since a simple set of if-else statements would suffice? Is it OK for ...
4
votes
5answers
891 views

Are there real-life usage and applications for “do while” loops? [closed]

When I see for and while loops all over production codes and mammoth projects, the last time I saw a do while loop is for a university assignment involving menu-based console input program. About 50 ...
35
votes
10answers
10k views

Why should your code not use 100% CPU? [closed]

I'm speaking specifically about a C# .NET 4 program running on Windows XP or higher, but general answers are also acceptable. Assume an already optimized and efficient program. The problem here is ...
12
votes
5answers
8k views

When to use primitive vs class in Java?

I see that Java has Boolean (class) vs boolean (primitive). Likewise, there's an Integer (class) vs int (primitive). What's the best practice on when to use the primitive version vs the class? ...
2
votes
4answers
1k views

Data Structures usage and motivational aspects

For long student life I was always wondering why there are so many of them yet there seems to be lack of usage at all in many of them. The opinion didn't really change when I got a job. We have ...
5
votes
3answers
223 views

Are there any off the shelf solutions for feature use analysis?

I write a set of productivity tools that sells online and have tens of thousands of users. While we do get very good feedback, this tends to come from only the most vocal users, so we fear we might be ...
33
votes
11answers
4k views

Why isn't Lisp more widespread?

I am starting to learn Scheme by the SICP videos, and I would like to move to Common Lisp next. The language seems very interesting, and most of the people writings books on it advocate that it has ...
5
votes
2answers
1k views

How to learn UML for a design usage?

10 years ago at college I had some UML lectures. From these I remember and use only some basic part of class and sequence diagrams and how our teacher was trying to convince us that in the future, ...
0
votes
1answer
106 views

Is the jRails Project something I should use?

The jRails project is a drop in replacement for the Prototype/scriptalicious helpers already a part of the Rails framework. Are your experiences with this project positive? Does it do what it says on ...
10
votes
9answers
436 views

What mistakes do your users make, and how can you update your application to handle them?

In fact this question is about cautions to be taken to enhance quality user experience and reduce avoidable support calls.
13
votes
7answers
603 views

When should I care about performance?

For the longest time in places like Java's IRC channel, SO, and other places I've been told something along the lines of "Worry about how the code looks and its readability/understandability now, and ...