Click here to Skip to main content
15,914,416 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

 
GeneralRe: 1 voters Pin
Paul Conrad7-Oct-08 13:51
professionalPaul Conrad7-Oct-08 13:51 
GeneralRe: 1 voters Pin
#realJSOP8-Oct-08 3:38
professional#realJSOP8-Oct-08 3:38 
QuestionCan we have a "Cool Code" forum? PinPopular
Michael Schubert7-Oct-08 1:26
Michael Schubert7-Oct-08 1:26 
AnswerRe: Can we have a "Cool Code" forum? Pin
Chris Maunder7-Oct-08 2:40
cofounderChris Maunder7-Oct-08 2:40 
GeneralRe: Can we have a "Cool Code" forum? Pin
Michael Schubert7-Oct-08 2:58
Michael Schubert7-Oct-08 2:58 
GeneralRe: Can we have a "Cool Code" forum? Pin
Paul Conrad7-Oct-08 6:05
professionalPaul Conrad7-Oct-08 6:05 
GeneralRe: Can we have a "Cool Code" forum? Pin
Vasudevan Deepak Kumar9-Oct-08 7:49
Vasudevan Deepak Kumar9-Oct-08 7:49 
AnswerRe: Can we have a "Cool Code" forum? Pin
#realJSOP7-Oct-08 3:08
professional#realJSOP7-Oct-08 3:08 
When he could have done it this way?

using System.Globalization;

public bool IsLeapYear(DateTime date)
{
	return CultureInfo.InvariantCulture.Calendar.IsLeapYear(date.Year);
}
public bool IsLeapYear(int year)
{
	return CultureInfo.InvariantCulture.Calendar.IsLeapYear(year);
}


While clever, his code is fraught with maintenance issues, where the method I've posted is in the .Net framework (not to mention offering overloads that accepts a datetime or the year itself).


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Can we have a "Cool Code" forum? Pin
Michael Schubert7-Oct-08 3:23
Michael Schubert7-Oct-08 3:23 
GeneralRe: Can we have a "Cool Code" forum? Pin
#realJSOP7-Oct-08 3:40
professional#realJSOP7-Oct-08 3:40 
GeneralRe: Can we have a "Cool Code" forum? Pin
Giorgi Dalakishvili7-Oct-08 4:59
mentorGiorgi Dalakishvili7-Oct-08 4:59 
GeneralRe: Can we have a "Cool Code" forum? Pin
Hans Dietrich7-Oct-08 5:06
mentorHans Dietrich7-Oct-08 5:06 
GeneralRe: Can we have a "Cool Code" forum? Pin
#realJSOP7-Oct-08 10:23
professional#realJSOP7-Oct-08 10:23 
GeneralWeird date problem... Pin
martin_hughes6-Oct-08 12:29
martin_hughes6-Oct-08 12:29 
GeneralRe: Weird date problem... Pin
Chris Maunder6-Oct-08 12:40
cofounderChris Maunder6-Oct-08 12:40 
GeneralRe: Weird date problem... Pin
martin_hughes6-Oct-08 12:49
martin_hughes6-Oct-08 12:49 
GeneralRe: Weird date problem... Pin
Chris Maunder6-Oct-08 12:53
cofounderChris Maunder6-Oct-08 12:53 
GeneralRe: Weird date problem... Pin
martin_hughes6-Oct-08 13:25
martin_hughes6-Oct-08 13:25 
GeneralSite infection Pin
Hans Dietrich6-Oct-08 12:08
mentorHans Dietrich6-Oct-08 12:08 
GeneralRe: Site infection Pin
Chris Maunder6-Oct-08 12:23
cofounderChris Maunder6-Oct-08 12:23 
GeneralRe: Site infection Pin
Vasudevan Deepak Kumar6-Oct-08 12:26
Vasudevan Deepak Kumar6-Oct-08 12:26 
GeneralRe: Site infection Pin
Rajesh R Subramanian7-Oct-08 1:34
professionalRajesh R Subramanian7-Oct-08 1:34 
GeneralArticle search - banner advert on the right obscures page content Pin
martin_hughes6-Oct-08 11:42
martin_hughes6-Oct-08 11:42 
GeneralRe: Article search - banner advert on the right obscures page content Pin
Chris Maunder6-Oct-08 11:54
cofounderChris Maunder6-Oct-08 11:54 
GeneralRe: Article search - banner advert on the right obscures page content Pin
martin_hughes6-Oct-08 11:59
martin_hughes6-Oct-08 11:59 

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.