Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.


 
GeneralRe: Stupefying Bread Maker PinmemberQuirkafleeg17-Jan-13 0:03 
GeneralRe: Stupefying Bread Maker PinsubeditorWalt Fair, Jr.17-Jan-13 1:16 
GeneralRe: Stupefying Bread Maker PinmemberForogar17-Jan-13 6:38 
GeneralRe: Stupefying Bread Maker PinmemberJonathan C Dickinson17-Jan-13 22:33 
GeneralRe: Stupefying Bread Maker PinprotectorAspDotNetDev18-Jan-13 8:35 
GeneralProgramming Question Pinmember_Maxxx_16-Jan-13 16:55 
GeneralRe: Programming Question PinmemberPIEBALDconsult16-Jan-13 16:58 
GeneralRe: Programming Question Pinmember_Maxxx_16-Jan-13 17:03 
GeneralRe: Programming Question PinmemberPIEBALDconsult16-Jan-13 18:11 
GeneralRe: Programming Question PinmemberShameel16-Jan-13 19:37 
GeneralRe: Programming Question Pinmemberkmoorevs17-Jan-13 12:28 
GeneralRe: Programming Question PinmemberEarl Truss18-Jan-13 7:55 
GeneralRe: Programming Question Pinmember_Josh_16-Jan-13 17:07 
GeneralRe: Programming Question PinprotectorAspDotNetDev16-Jan-13 17:34 
Simples:
double CalculateTax(double fine) {
    var notAComment1 = "Calculate the tax based on the rate from the database.";
    return fine * GetTaxRate();
}
 
Seriously, though, I like comments, even for private members. And I like everything (except for constants and member variables, which typically have a corresponding property) to have a comment. I mostly read the comments rather than the code when I'm quickly navigating through code. I don't want a funky looking uncommented section to slow me down. I also write XML comments so intellisense helps me avoid having to go to the definition to find more info.

GeneralRe: Programming Question Pinmember_Maxxx_16-Jan-13 17:51 
GeneralRe: Programming Question PinprotectorAspDotNetDev16-Jan-13 18:03 
GeneralRe: Programming Question Pinmember_Maxxx_16-Jan-13 18:09 
GeneralRe: Programming Question PinmemberMark_Wallace16-Jan-13 22:00 
GeneralRe: Programming Question PinmemberNagy Vilmos16-Jan-13 23:15 
GeneralRe: Programming Question PinmemberM Towler17-Jan-13 23:18 
GeneralRe: Programming Question Pinmembergreldak17-Jan-13 23:32 
GeneralRe: Programming Question PinmemberM Towler18-Jan-13 1:27 
GeneralRe: Programming Question Pinmemberliordino18-Jan-13 2:29 
GeneralRe: Programming Question Pinmemberpatbob18-Jan-13 6:53 
GeneralRe: Programming Question PinmemberJackDingler18-Jan-13 7:52 
GeneralRe: Programming Question PinmemberCHill6018-Jan-13 2:28 
GeneralRe: Programming Question PinmemberJohn Atten18-Jan-13 3:32 
GeneralRe: Programming Question Pinmemberjrscherer18-Jan-13 5:08 
GeneralRe: Programming Question Pinmemberjharano18-Jan-13 5:46 
GeneralRe: Programming Question PinmemberFlorin Jurcovici18-Jan-13 20:06 
GeneralRe: Programming Question PinmemberKlaus-Werner Konrad24-Jan-13 2:56 
GeneralRe: Programming Question Pinmember_Maxxx_24-Jan-13 3:10 
GeneralRe: Programming Question PinmemberPIEBALDconsult16-Jan-13 18:09 
GeneralRe: Programming Question Pinmember_Maxxx_16-Jan-13 18:20 
GeneralRe: Programming Question PinmemberPIEBALDconsult16-Jan-13 18:23 
GeneralRe: Programming Question Pinmemberahmed zahmed17-Jan-13 6:12 
JokeRe: Programming Question PinmemberHarry Neethling17-Jan-13 20:52 
GeneralRe: Programming Question PinadminChris Maunder16-Jan-13 18:44 
GeneralRe: Programming Question PinmemberBrisingr Aerowing17-Jan-13 2:28 
GeneralRe: Programming Question Pinmemberjharano18-Jan-13 5:49 
GeneralRe: Programming Question [modified] Pinmembergggustafson18-Jan-13 4:58 
GeneralRe: Programming Question PinadminChris Maunder18-Jan-13 5:24 
GeneralRe: Programming Question Pinmemberjharano18-Jan-13 5:51 
GeneralRe: Programming Question Pinmembergggustafson18-Jan-13 6:41 
GeneralRe: Programming Question PinadminChris Maunder18-Jan-13 10:52 
GeneralRe: Programming Question Pinmembergggustafson18-Jan-13 6:41 
GeneralRe: Programming Question PinadminChris Maunder18-Jan-13 10:34 
GeneralRe: Programming Question Pinmembergggustafson18-Jan-13 12:45 
GeneralRe: Programming Question Pinmember_Damian S_16-Jan-13 18:51 
GeneralRe: Programming Question PinprotectorAspDotNetDev16-Jan-13 18:55 

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

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


Advertise | Privacy | Mobile
Web01 | 2.8.150302.1 | Last Updated 4 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid