Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualCornstalks

Posted 06 April 2012 - 05:19 PM

if it's none, I wouldn't recomend C++ as a first language, It's amazing, but, it's best to start un object oriented and work your way up. Maybe learn C, then java (java next as it is allot more forgiving than C++ is)

At first I was agreeing with you, and then I was shaking my head by the end. C++ is an amazingly terrible language (for beginners). C is pretty bad too, it just has a couple less convoluted parts in the language.

C++ (and C) are indeed bad choices for a first programming language. If you're just starting out, I'd recommend something like Python, Haskell, or C#. Personally, I love C#.

You might be wondering what's so bad with C and C++ for beginners. Here's an example that compiles just fine, and yet it does something terrible. Forcing beginners to watch out for things like this while trying to learn the fundamentals of programming is a good way to confuse the crap out of them. What's worse, the compiler won't tell them they're doing anything wrong. And when they run the program, who knows what will happen? No one. Heck, it could even print out "hello". It'll probably crash, but the fact is that in C and C++, if you write wrong code, you may not know it for years down the road when suddenly the system starts crashing and you have to figure out why. Have fun with that.

#include <iostream>

int main()
{
	std::cout << 37 + "hello" << std::endl;
}

And here's a link for reading.

#4Cornstalks

Posted 06 April 2012 - 05:19 PM

if it's none, I wouldn't recomend C++ as a first language, It's amazing, but, it's best to start un object oriented and work your way up. Maybe learn C, then java (java next as it is allot more forgiving than C++ is)

At first I was agreeing with you, and then I was shaking my head by the end. C++ is an amazingly terrible language (for beginners). C is pretty bad too, except it has a couple less convoluted parts in the language.

C++ (and C) are indeed bad choices for a first programming language. If you're just starting out, I'd recommend something like Python, Haskell, or C#. Personally, I love C#.

You might be wondering what's so bad with C and C++ for beginners. Here's an example that compiles just fine, and yet it does something terrible. Forcing beginners to watch out for things like this while trying to learn the fundamentals of programming is a good way to confuse the crap out of them. What's worse, the compiler won't tell them they're doing anything wrong. And when they run the program, who knows what will happen? No one. Heck, it could even print out "hello". It'll probably crash, but the fact is that in C and C++, if you write wrong code, you may not know it for years down the road when suddenly the system starts crashing and you have to figure out why. Have fun with that.

#include <iostream>

int main()
{
	std::cout << 37 + "hello" << std::endl;
}

And here's a link for reading.

#3Cornstalks

Posted 06 April 2012 - 12:55 PM

if it's none, I wouldn't recomend C++ as a first language, It's amazing, but, it's best to start un object oriented and work your way up. Maybe learn C, then java (java next as it is allot more forgiving than C++ is)

At first I was agreeing with you, and then I was shaking my head by the end. C++ is an amazingly terrible language. C is pretty bad too, except it has a couple less convoluted parts in the language.

C++ (and C) are indeed bad choices for a first programming language. If you're just starting out, I'd recommend something like Python, Haskell, or C#. Personally, I love C#.

You might be wondering what's so bad with C and C++ for beginners. Here's an example that compiles just fine, and yet it does something terrible. Forcing beginners to watch out for things like this while trying to learn the fundamentals of programming is a good way to confuse the crap out of them. What's worse, the compiler won't tell them they're doing anything wrong. And when they run the program, who knows what will happen? No one. Heck, it could even print out "hello". It'll probably crash, but the fact is that in C and C++, if you write wrong code, you may not know it for years down the road when suddenly the system starts crashing and you have to figure out why. Have fun with that.

#include <iostream>

int main()
{
	std::cout << 37 + "hello" << std::endl;
}

And here's a link for reading.

#2Cornstalks

Posted 06 April 2012 - 12:54 PM

if it's none, I wouldn't recomend C++ as a first language, It's amazing, but, it's best to start un object oriented and work your way up. Maybe learn C, then java (java next as it is allot more forgiving than C++ is)

At first I was agreeing with you, and then I was shaking my head by the end. C++ is an amazingly terrible language. C is pretty bad too, except it has a couple less convoluted parts in the language.

C++ (and C) are indeed bad choices for a first programming language. If you're just starting out, I'd recommend something like Python, Haskell, or C#. Personally, I love C#.

You might be wondering what's so bad with C and C++ for beginners. Here's an example that compiles just fine, and yet it does something terrible. Forcing beginners to watch out for things like this while trying to learn the fundamentals of programming is a good way to confuse the crap out of them. What's worse, the compiler won't tell them they're doing anything wrong. And when the run the program, who knows what will happen? No one. Heck, it could even print out "hello". It'll probably crash, but the fact is that in C and C++, if you write wrong code, you may not know it for years down the road when suddenly the system starts crashing and you have to figure out why. Have fun with that.

#include <iostream>

int main()
{
	std::cout << 37 + "hello" << std::endl;
}

And here's a link for reading.

#1Cornstalks

Posted 06 April 2012 - 12:51 PM

if it's none, I wouldn't recomend C++ as a first language, It's amazing, but, it's best to start un object oriented and work your way up. Maybe learn C, then java (java next as it is allot more forgiving than C++ is)

At first I was agreeing with you, and then I was shaking my head by the end. C++ is an amazingly terrible language. C is pretty bad too, except it has a couple less convoluted parts in the language.

C++ (and C) are indeed bad choices for a first programming language. If you're just starting out, I'd recommend something like Python, Haskell, or C#. Personally, I love C#.

You might be wondering what's so bad with C and C++ for beginners. Here's an example that compiles just fine, and yet it does something terrible. Forcing beginners to watch out for things like this while trying to learn the fundamentals of programming is a good way to confuse the crap out of them.

#include <iostream>

int main()
{
    std::cout << 37 + "hello" << std::endl;
}

And here's a link for reading.

PARTNERS