The tag has no wiki summary.

learn more… | top users | synonyms

30
votes
21answers
2k views

How do you tackle really bizarre errors that keep you puzzled for more than 10 hours? [closed]

You know them, those errors that make NO sense. Where it seems like a gremlin just jumped deep inside your chips and messed up something. Do you take a walk, write stuff, call an uncle? I need help!!
16
votes
10answers
644 views

Why do new programmers seem to ignore compiler error messages/runtime exception messages?

I think we’ve all seen this. Beginners ask questions on StackOverflow that follow the basic outline... I’m trying to do (very vague description of the goal) but it doesn’t work/I get an ...
15
votes
9answers
479 views

Under what circumstances should error messages be presented to the user?

Should error messages ever be presented to an end user and if so what rules or advice should you have about what should be in them?
12
votes
8answers
1k views

Why do many PHP Devs hate using isset() and/or any of PHP's similarly defensive functions like empty()?

Over on stackoverflow, I see this issue crop up all the time: E_NOTICE ?== E_DEBUG, avoiding isset() and @ with more sophisticated error_handler How to set PHP not to check undefind index for ...
11
votes
7answers
574 views

Do you read C or C++ compile errors after the first one?

I never understood why C and C++ compilers try to recover from errors and continue parsing. Almost always, the first error generates a stream of bogus errors that will disappear as soon as the first ...
10
votes
4answers
1k views

Why are C++ template error messages so horrific?

C++ templates are notorious for generating long, unreadable error messages. I have a general idea of why template error messages in C++ are so bad. Essentially, the problem is that the error isn't ...
10
votes
5answers
322 views

Invert how to teach programming?

I was thinking about the responses to my thread on programming Program like a writer..? and most people agreed that you should have some structure and build from there instead of just typing away. New ...
7
votes
5answers
408 views

exclamation points in error messages [closed]

What do you think about using exclamation points in error messages? i.e. "The address is not valid!". Personally, I think it adds nothing, insults the user, and makes the product look like it was ...
7
votes
2answers
179 views

Displaying Datamatrix in application error screen

Quite often we will get a report from a user in the field saying there was an error in our application. Frequently this leads to the typical round of "What was the error?" "I don't know, it was just ...
6
votes
1answer
337 views

What is the nicest (user-friendliest) way to tell a user about “Access Denied” error?

Our software implements a layer of role-based security to secure data access, in the form of access control lists. Whenever a user tries to do something that isn't allowed, the software layer will ...
5
votes
4answers
229 views

Multi-lingual error messages and error numbers

So we're looking at the possibility of porting our software to support multiple languages and one of the areas we're going to have to deal with is error messages and other notifications. These ...
5
votes
2answers
114 views

Test descriptions/name, say what the test is? or what it means when it fails?

The API docs for Test::More::ok is ok($got eq $expected, $test_name); right now in one of my apps I have $test_name print what the test is testing. So for example in one of my tests I have set this ...
4
votes
4answers
735 views

How do you assign error codes?

How, when developing a medium sized project, do you identify, create and maintain error codes? I for the life of me can't think of a simple and clean method of doing so. Some of my ideas convert ...
4
votes
4answers
533 views

How important are PHP notices really?

I recently turned all possible error-messages on with error_reporting(-1);, on my PHP project. Of course, right away I got alot of messages. For example: Notice: Undefined variable: foo in ...
4
votes
1answer
161 views

Using default parameters for 404 error (PHP with mvc design)?

I have a custom made Framework (written in PHP). It all works very good, but i have some doubts about a certain thing. Right now when a user call this url for example: http://host.com/user/edit/12 ...

1 2
15 30 50 per page