Showing posts with label yahoo answers. Show all posts
Showing posts with label yahoo answers. Show all posts

Friday, 3 April 2009

Working in Steps

I learned an important lesson about programming from a yahoo answer. If only I could find that one yahoo answer that taught me the ways of the samuri in terms of programming. Some chick posted a bunch of code and copy pasted her debugger output and said "where's the problem?" The best answer in my opinion then explained that programming doesn't work that way. You don't define and impliment 10 different functions into a program and then run it through a debugger. No, you're supposed to run each function or at least the basic idea of the function through the debugger to see if it works before you go on defining another function for the program.

Today I decided to stop procrastinating or puttning off the Scrabble Cheater project. Well, I decided to work ont he project sooner after I discovered some solutions as I meditated over the problems as a bed time story. I guess I'll talk about some of those solutions on my C++ blog. So far, my program consists of only a couple functions and I'm about to turn some code I've been testing into another function which migh turn out to be the most important function in the program - the function that compares the characters from the input to the characters of words in an array.

Another concept I had a hard time with was working with a project. I always used to work on a single source file. I knew what the include statements meant but I didn't know who to "make my own files to include". On DEV-CPP making a project is very easy. I recently downloaded Code Blocks but I'm just not used to the idea of using it as my default IDE yet. I have tried Microsoft Visiual CPP Express but I'm not used to it either. That's my update for now.

Thursday, 2 April 2009

Yahoo Answers vs. Forums

I used to usually only use Yahoo Answers and the Gamedev chat whenever I had a question about C Plus Plus, and lately a debate has been floating in my mind. Is posting questions on yahoo answers better than posting questions on forums that are related to the subject of the question?
There are a lot of cons to posting a question on Yahoo Answers:
  • There's the possibility that nobody will be interested in your question and in about three days Yahoo Answers shuts down your question for no further answers.
  • You have to request an extension to the amount of time your question is up for answers.
  • I take back the first con, what really happens is that someone answers your question extremely poorly and after a certain amount of time, since that person is the only person that answered your question, his/her answer gets chosen as best answer and then the question is shut down for no further answers.
  • You can't argue about another persons' answer and why its wrong. You just answer.
The pros to posting a question on Yahoo Answers:

  • There is a reward system. I don't know if it's true that the people that answer questions on Yahoo Answers are in it for the points, but this reward system is supposed to reward those with the best answers. Therefore, yahoo answers pressures a strive for good quality answers that forums don't necessarily.

What are the cons and pros of forums then?
cons
  • There isn't a reward system? There is usually no pressure to make anyone give a quality response to your question. There is only pressure of being right and having a good reputation on a forum for being right. I totally disagree with this con because I've been to many forums for answers to questions and people do try to give quality answers even without the points.
pros
  • You can edit your questions or arguments in the post. Want to bold something, add a picture, maybe an embedded youtube video? You can't do this on yahoo answers, but you can usually do it on a forum with HTML editing capabilities.
  • There is room for discussion. If one user on the forum disagrees with another about some answer, forums make possible a debate where the questioner has a chance to see why a particular answer may not be correct and to keep the heads up for new answers that could be more accurate or correct.
  • You're question will never expire and will always be there for more answers.
I've been thinking about forums and yahoo answers lately because I just discovered Orkut communities which are much like forums. I joined the C/C++ community they have there with already 150,000 members. I'm also a member of several other forums that have been very useful: CPP for Beginners, Game Dev, and C Plus Plus.

Saturday, 7 March 2009

What I Like to Do: Yahoo Answers

I like to give people negative votes on yahoo answers for stupidity... even a little stupidity. *laughs wildly*

Answers I vote down:
"C++ is a programing language. You can learn it about as fast as you can learn to speak a second language."
why? this answer assumes the person doesn't know a second language. I crack myself up. Seriously, he should have said "another language" instead of "second language".

"it is .cpp i think ........any way u cant compile it without ide...opt for Borland or some ide.....google C++"
why? you don't need a IDE to compile c++ code. you need a compiler.