Click here to Skip to main content
16,008,010 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralMembership status calculation Pin
Pankaj A. Chitriv6-May-05 9:00
Pankaj A. Chitriv6-May-05 9:00 
GeneralRe: Membership status calculation Pin
Shog96-May-05 10:23
sitebuilderShog96-May-05 10:23 
GeneralRe: Membership status calculation Pin
Pankaj A. Chitriv6-May-05 12:58
Pankaj A. Chitriv6-May-05 12:58 
GeneralRe: Membership status calculation Pin
Shog96-May-05 19:22
sitebuilderShog96-May-05 19:22 
GeneralArticles with only bunch of code Pin
MoustafaS2-May-05 9:43
MoustafaS2-May-05 9:43 
GeneralRe: Articles with only bunch of code Pin
Colin Angus Mackay2-May-05 10:08
Colin Angus Mackay2-May-05 10:08 
GeneralRe: Articles with only bunch of code Pin
MoustafaS2-May-05 12:24
MoustafaS2-May-05 12:24 
GeneralRe: Articles with only bunch of code Pin
Shog92-May-05 13:33
sitebuilderShog92-May-05 13:33 
It comes down to this: either the code itself is so trivial that there's no point to an article, or there's enough information that could be included that it doesn't make sense to post an article without it.

Example #1: A routine for generating an embossed icon
This is fairly simple - the code shouldn't amount to more than 20-40 lines, max. There are a few articles that cover it on CP, but maybe someone noticed that the question arises in the forums from time to time and decided to write an article dedicated to it. Such an article might cover:

  1. Decomposing icons
  2. What makes an image look embossed?
  3. Drawing onto a bitmap
  4. The DrawState() function, use, pros and cons
  5. Creating a new icon


Note that any one of those bullets could easily justify an article by itself - but in this example, only those areas relevant to the task at hand would be discussed. Even with that restriction, this would grow to well more than just a code snippet.

Example #2: Creating a bitmap from a block of memory
This is even simpler - fill in a structure and call one method. Yet it still should command more than a few paragraphs if an article is to be made of it. A discussion of bitmap formats, history of bitmaps in the Windows API, the difference between device-dependant bitmaps and DIBs (along with pros/cons of using them in different situations), perhaps even a mention of DirectDraw alternatives could be included.

Sure - many, perhaps even most of those reading such articles would skim through enough to become convinced that they'd found what they needed, then download the code and copy it into their app, never bothering to fully understand how or why it works.
That's not a valid concern for the author, however.
A professional application should not contain code that cannot be tested. Code that is not understood cannot be tested. Therefore, a site such as this, aimed at professional programmers, has no use for code posted without full explanations. This is even more important for small snippets that will be integrated into larger routines than it is for complete components or class libraries, where at least there is an assumption that some unit testing has been done on the whole item.

Finally, consider this: even the code snippets on MSDN occasionally have bugs. When they do, there is nothing to be done but submit a report and wait... maybe it'll be fixed in a reasonable amount of time, maybe it won't. Here, all articles (well, real articles) have forums attached - corrections can be made immediately visible. But what's not there can't be corrected ("was that left out for brevity? is it *supposed* to work that way?!"), so you're left with nothing but a piece of code, stuck in a vacuum, with no past nor future.
The web has plenty of this already...
Let's make the most of the opportunity afforded us here.

Medication for us all
You think you know me, well you're wrong

GeneralRe: Articles with only bunch of code Pin
Colin Angus Mackay3-May-05 22:48
Colin Angus Mackay3-May-05 22:48 
GeneralRe: Articles with only bunch of code Pin
Omar _4-May-05 9:29
Omar _4-May-05 9:29 
GeneralRe: Articles with only bunch of code Pin
Nish Nishant5-May-05 17:20
sitebuilderNish Nishant5-May-05 17:20 
GeneralBeware the copy-paste programmer... Pin
Shog96-May-05 10:34
sitebuilderShog96-May-05 10:34 
GeneralRe: Beware the copy-paste programmer... Pin
Colin Angus Mackay6-May-05 11:52
Colin Angus Mackay6-May-05 11:52 
GeneralRe: Beware the copy-paste programmer... Pin
Shog96-May-05 19:23
sitebuilderShog96-May-05 19:23 
GeneralForums in bold have new messages ... Pin
V.28-Apr-05 3:54
professionalV.28-Apr-05 3:54 
GeneralRe: Forums in bold have new messages ... Pin
MoustafaS7-May-05 12:02
MoustafaS7-May-05 12:02 
GeneralPlease increase the session-timeout Pin
ARegularUser28-Apr-05 0:57
sussARegularUser28-Apr-05 0:57 
GeneralRe: Please increase the session-timeout Pin
Chris Maunder28-Apr-05 1:13
cofounderChris Maunder28-Apr-05 1:13 
GeneralRe: Please increase the session-timeout Pin
ARegularUser28-Apr-05 1:34
sussARegularUser28-Apr-05 1:34 
GeneralGo straight to a particular day? Pin
theFrenchHornet27-Apr-05 12:31
theFrenchHornet27-Apr-05 12:31 
GeneralRe: Go straight to a particular day? Pin
Chris Maunder28-Apr-05 1:14
cofounderChris Maunder28-Apr-05 1:14 
GeneralRe: Go straight to a particular day? Pin
Bob Stanneveld3-May-05 5:05
Bob Stanneveld3-May-05 5:05 
GeneralRSS Feed for CodeProject Pin
Anonymous26-Apr-05 3:40
Anonymous26-Apr-05 3:40 
GeneralRe: RSS Feed for CodeProject Pin
Michael Dunn26-Apr-05 6:25
sitebuilderMichael Dunn26-Apr-05 6:25 
GeneralRe: RSS Feed for CodeProject Pin
Anonymous26-Apr-05 9:21
Anonymous26-Apr-05 9:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.