Bob gets a bad rep
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
Most articles and code snippets on CP are good quality, its the decision to do a cut-copy-paste from them into production code and blindly delieving it to be production-ready is wrong.
Farhan Noor Qureshi
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
well, what part of it isn't true ??. most of the code here is brutal to say the least. Most post so-called "articles" here because they think it makes a difference on there resumes', and to re-validate themselves because they have no life. "um, umm, you want to see my slide ruler girls" :laugh: "oh yeah, i had articles published on CP" --- every article is posted NOT published here. when you get a paper published in a real journal, give me a call:laugh::laugh:
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
Graham Bradshaw wrote:
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx\[^\]), and those commenters, they ain't too complimentary.
It all comes down to the right tool for the right job.... If you don't understand the tool, and barely understand the job, cut-n-paste will be the proverbial "A little knowledge is a dangerous thing." I noticed the infamous comment... Multi-threading is hard (godzilla hard? hmmm). No, multi-threading is serious. It isn't hard, but it is serious business. If you try to toss everything on a thread without being serious about it, you might as well play russian roulette. It is serious business. Actually, I wish more programming was serious business, I kick myself for believing that computers were going to do my math for me back in college, but it is the same mindset now. The program will just work if compiled, it will fix all my problems. why doesn't multi-threaded code always work no matter how it is designed? :sigh: It isn't hard... but it is serious. If the programmer sat down and thought about it, worker thread, synchronous threads, asynch threads, massively parallel problem solving.... which way works? The right tool for the right job. Perhaps even none of them will. Perhaps multithreading is not the way to solve that particular job and a good efficient algorithm rewrite is the right tool; but if you never sit down and think about it, never understand the tool or the job... they will never go together. -- modified at 18:39 Thursday 10th August, 2006
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
I'm not so certain they were talking about CP there. Somebody mentioned experts exchange, then a few others code project. Hey, there's good and bad articles here. The good ones keep me comin' back for more. :) (that, and the Lounge, the Soapbox, etc. :))
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
Copy-Paste programming sucks. Sorry, but it doesn't matter if you're getting the code from an awesome site like this, or one of those crappy ad-infested ones where the contributers never use whole words - if you're just throwing bits of it into your app without understanding how they do what they do and why, then you're just asking for trouble. This is why you see comments like that - CP has that reputation with some people, as CG did before it, for the simple reason that some programmers' only exposure to the site is a comment tucked away in a stinking mess of patchwork code somewhere that credits a CP article.
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
A lot of articles on here are crap, though, by my experience, tend to be better than what you can find on the web in general. And while articles on CP tend to be poorly written and not nearly as explanatory as they could be, they sure beat MSDN Magazine articles which take ten pages to say what most good developers could explain in one (plus the code from MSDN Magazine is usually horrible.) That aside, this article strikes me as mostly bullshit. It's full of totally unrealistic exagerations. For example, C++ has been out for 23 years now. I'm also deeply skeptical that ANY developer would believe MFC is portable to UNIX. (And if this was a GUI program, what did the hero of the story use as a GUI library? There is no C++ standard for this, neither is there a C++ standard library for threading. Hmmm. Methinks what you have here is a power play between one group pushing Windows and the other UNIX and the UNIX group winning. Either that or someone just making crap up to get an article on the web site.
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
I'm not so certain they were talking about CP there. Somebody mentioned experts exchange, then a few others code project. Hey, there's good and bad articles here. The good ones keep me comin' back for more. :) (that, and the Lounge, the Soapbox, etc. :))
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
The guy who runs the site and made the original comment said 'here's a clue, it starts with c and ends with odeproject.com'. I tend to agree with what was generally said - if someone writes their code by cutting and pasting a bunch of articles blindly, they deserve what they get. The self published nature of CP means there ARE some lousy articles here, that's what the article rating system and purgatory are for. There is also some amazingly well written and thought out code here, which is what makes the site a great resource for developers who have half a clue.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Graham Bradshaw wrote:
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx\[^\]), and those commenters, they ain't too complimentary.
It all comes down to the right tool for the right job.... If you don't understand the tool, and barely understand the job, cut-n-paste will be the proverbial "A little knowledge is a dangerous thing." I noticed the infamous comment... Multi-threading is hard (godzilla hard? hmmm). No, multi-threading is serious. It isn't hard, but it is serious business. If you try to toss everything on a thread without being serious about it, you might as well play russian roulette. It is serious business. Actually, I wish more programming was serious business, I kick myself for believing that computers were going to do my math for me back in college, but it is the same mindset now. The program will just work if compiled, it will fix all my problems. why doesn't multi-threaded code always work no matter how it is designed? :sigh: It isn't hard... but it is serious. If the programmer sat down and thought about it, worker thread, synchronous threads, asynch threads, massively parallel problem solving.... which way works? The right tool for the right job. Perhaps even none of them will. Perhaps multithreading is not the way to solve that particular job and a good efficient algorithm rewrite is the right tool; but if you never sit down and think about it, never understand the tool or the job... they will never go together. -- modified at 18:39 Thursday 10th August, 2006
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
Jeffry J. Brickley wrote:
No, multi-threading is serious. It isn't hard, but it is serious business. If you try to toss everything on a thread without being serious about it, you might as well play russian roulette.
Bookmarked, for that quote alone. I cringe every time i read "threads are hard", usually as part of an excuse for why a UI locks up for minutes at a time.
---- Scripts i’ve known... CPhog 1.8.2 - make CP better. Forum Bookmark 0.2.5 - bookmark forum posts on Pensieve Print forum 0.1.2 - printer-friendly forums Expand all 1.0 - Expand all messages In-place Delete 1.0 - AJAX-style post delete Syntax 0.1 - Syntax highlighting for code blocks in the forums
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
Since we care about our quality and reputation, this should be a call to arms, for volunteer editors. There is a large backlog of unedited contrbutions. Moreover, what is the correct way to site cut-n-paste code? I tend to leave a comment of the orginal author and the url of the article in the codebase - I am sure my manager would get made at me if they knew I did that, because there are interlectually property issues. But it sure makes maintaining the code easier :) And if someone choose to used my code in a production system ... I would happy ... not sue crazy.
do you need to investigate an online backup[^] company
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
There's always a horror story available somewhere to make any point you want to make at the moment. But the problem is when people try to say that the horror story is representative of the whole, which it usually is not.
-
The guy who runs the site and made the original comment said 'here's a clue, it starts with c and ends with odeproject.com'. I tend to agree with what was generally said - if someone writes their code by cutting and pasting a bunch of articles blindly, they deserve what they get. The self published nature of CP means there ARE some lousy articles here, that's what the article rating system and purgatory are for. There is also some amazingly well written and thought out code here, which is what makes the site a great resource for developers who have half a clue.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
Well said!
-
A lot of articles on here are crap, though, by my experience, tend to be better than what you can find on the web in general. And while articles on CP tend to be poorly written and not nearly as explanatory as they could be, they sure beat MSDN Magazine articles which take ten pages to say what most good developers could explain in one (plus the code from MSDN Magazine is usually horrible.) That aside, this article strikes me as mostly bullshit. It's full of totally unrealistic exagerations. For example, C++ has been out for 23 years now. I'm also deeply skeptical that ANY developer would believe MFC is portable to UNIX. (And if this was a GUI program, what did the hero of the story use as a GUI library? There is no C++ standard for this, neither is there a C++ standard library for threading. Hmmm. Methinks what you have here is a power play between one group pushing Windows and the other UNIX and the UNIX group winning. Either that or someone just making crap up to get an article on the web site.
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
dailywtf.com[^] is based mostly on programming by IT kind of folks, and does seem to be pretty penguinophilic. As a result, they rag on Windows a lot. Given that our beloved CP is Windows-specific, it's not surprising that they take the piss at CP. Granted, the post by Alex identifying CP is pretty bad manners for a webmaster, if you ask me.
Software Zen:
delete this;
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
No, the commenters have a point. What are we doing allowing people to post actual unedited content on the internet. Like, WTF? And we don't provide printed manuals and there's no phone support. Insane.
cheers, Chris Maunder
CodeProject.com : C++ MVP
-
The guy who runs the site and made the original comment said 'here's a clue, it starts with c and ends with odeproject.com'. I tend to agree with what was generally said - if someone writes their code by cutting and pasting a bunch of articles blindly, they deserve what they get. The self published nature of CP means there ARE some lousy articles here, that's what the article rating system and purgatory are for. There is also some amazingly well written and thought out code here, which is what makes the site a great resource for developers who have half a clue.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
Absolutely true! If CP is missing anything it's a shortage of Editors. You got my '5'.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
No, the commenters have a point. What are we doing allowing people to post actual unedited content on the internet. Like, WTF? And we don't provide printed manuals and there's no phone support. Insane.
cheers, Chris Maunder
CodeProject.com : C++ MVP
Chris Maunder wrote:
And we don't provide printed manuals and there's no phone support. Insane.
I agree. You're charging way too much for this stuff. How dare you? :rolleyes:
Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
Out of morbid curiousity I looked at this 'article'....geez, what a bunch of drivel....and the comments that form the 'discussion' don't say a lot for this audience's understanding-of-anything to do with much of anything, much less multi-threaded techniques. ( I mean, really: threads are hard....what, are you high? no they're not...if you know wtf you are doing)....what a bunch of ding dongs...In short, I don't think this mention is worth a second look, as the entire page does not seem to be worth the bits wasted to display it.....
Just trying to keep the forces of entropy at bay
-
dailywtf.com[^] is based mostly on programming by IT kind of folks, and does seem to be pretty penguinophilic. As a result, they rag on Windows a lot. Given that our beloved CP is Windows-specific, it's not surprising that they take the piss at CP. Granted, the post by Alex identifying CP is pretty bad manners for a webmaster, if you ask me.
Software Zen:
delete this;
What the he** is penguinophilic???? :wtf: Actually, I know - biased toward unix/linux, but still, never heard THAT term before. Brings new meaning to the bud-light penguin commercials.. :) In all honesty, I thought the comments about CP in wtf to be pretty much out of line. Their complaint was that too many people can just cut/paste code into enterprise systems... as if *thats* never happened before... as others have pointed out, give me any book, any site, any existing code, and I can make a mess out of it if I do not use the computer between the ears.
Charlie Gilley Will program for food... Whoever said children were cheaper by the dozen... lied. My son's PDA is an M249 SAW. My other son commutes in an M1A2 Abrams
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
Graham Bradshaw wrote:
CP gets a mention in today's Daily WTF
Alex Papadimoulis wrote:
The website in question (and I should note that I get a LOT of submissions directly linking to this site) starts with the the letter "c" and ends with "odeproject.com"
I half wonder if Alex hasn't confused CodeProject & CodeGuru, CodeGuru has an amazing about of crap. No its just a waste of poor ASCII characters.
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
-
CP gets a mention in today's Daily WTF (http://thedailywtf.com/forums/thread/85510.aspx[^]), and those commenters, they ain't too complimentary. :(
It's not in C++. Refer to the code snippet in the original post.
public int ProcessIncomingMessage
(int messageId, int messageType, char* message)
{
//spawn a new listener so we can process this
int h = CreateThread(
NULL, 0, ListenForMessage,
(void *)this, 0, NULL);//now process the message
int result = -1;
switch (messageType)
{
case MSGTYP_M001:
result = ProcessCvlMessage(messageId, message);
break;
case MSGTYP_M002:
result = ProcessAplMessage(messageId, message);
break;
case MSGTYP_M003:
if (this->routingLevel == 1)
result = ProcessLcxMessage(messageId, message);
else
result = ReRouteMessage(messageId, MSGTYP_M008, message);
break;--- snip ---
Maxwell Chen
-
well, what part of it isn't true ??. most of the code here is brutal to say the least. Most post so-called "articles" here because they think it makes a difference on there resumes', and to re-validate themselves because they have no life. "um, umm, you want to see my slide ruler girls" :laugh: "oh yeah, i had articles published on CP" --- every article is posted NOT published here. when you get a paper published in a real journal, give me a call:laugh::laugh:
I think that says more about you than others.