Skip to main content
11 events
when toggle format what by license comment
Oct 6, 2014 at 19:36 comment added l4mpi @BenjaminGruenbaum well, to be fair, the C/C++ project actually predates CVS and I don't have any idea what they initially used (I believe it was RCS because I remember a project manager mentioning how cumbersome it was to deal with locked files back then). Still no excuse to not clean that up once the project was migrated to CVS and then SVN...
Oct 6, 2014 at 19:30 comment added Benjamin Gruenbaum @l4mpi don't people know they have source control for that? (The revision history in our case)
Oct 6, 2014 at 19:28 comment added l4mpi @BenjaminGruenbaum that would be a good analogy if not for the fact that apparently people do that, a lot. Actually, I just stumbled upon an example in a Java project today where a method doing import validation just contained 50 commented-out lines followed by a return null. I've seen worse in old C/C++ codebases though, e.g. functions of 3k lines that contain a huge nested if statement with multiple branches, and suddenly there's 500 lines commented out in the middle of it. Just like strike-through in answers, it makes the code a total mess.
Oct 6, 2014 at 18:56 comment added Hans Passant By extension, do you ever see a newspaper article with every other word turned into a gray blob? Some posters just can't seem to stay away from that darned backtick.
Oct 6, 2014 at 18:55 comment added Joe @RobertHarvey You're right. It's like using a goto in C#. Needed a bit of a wake-up there.
Oct 6, 2014 at 18:51 comment added Robert Harvey Mod @Joe: Markdown is a tool, not a mandate. Like most tools, it gives you the ability to do certain things, but lets you decide whether to do good or bad things with it.
Oct 6, 2014 at 18:47 comment added Joe I pretty much agree with this, except I have used it myself. I posted an answer, made a huge assumption in one of my sentences, and then striked it out once I realised it wasn't necessary. I left it there as I felt it added to the answer, the kind of "this was my train of thought, but no, so if you think the same, you're wrong". I kind of regret it, it doesn't format nicely, and it could do without being there. That said, why do we have the ability to use it all if answers should be the finished product?
Oct 6, 2014 at 18:42 history edited Robert HarveyMod CC BY-SA 3.0
deleted 1 character in body
Oct 6, 2014 at 18:22 vote accept Grice
Oct 6, 2014 at 18:06 comment added Benjamin Gruenbaum Programmer analogy: Would you leave old code commented out in your production code base when you write new code?
Oct 6, 2014 at 18:04 history answered Robert HarveyMod CC BY-SA 3.0