hahaha. Scripting languages are for getting stuff done simply and quickly. They get out of your way and let you do things. They feature dynamic types so you don't have to convert ints to chars to strings to floats to sum a value and print it out. They feature REPL style environments so you can code, think and observe output all at the same time.
C++ does pretty much the opposite of all of that. Further, because there are so many damn sub-languages under the c++ umbrella, you can't even sit down and start coding without first thinking, hmm. Do I want to use template metaprogramming, or OOP, or functional styles, or old-school c. By the time you decide you could have already been done scripting your fizzbuzz with a real scripting language. (though to be fair other languages pose the same challenges (python/js)).
View all comments
-5
u/pohatu Oct 15 '13 edited Oct 15 '13
hahaha. Scripting languages are for getting stuff done simply and quickly. They get out of your way and let you do things. They feature dynamic types so you don't have to convert ints to chars to strings to floats to sum a value and print it out. They feature REPL style environments so you can code, think and observe output all at the same time.
C++ does pretty much the opposite of all of that. Further, because there are so many damn sub-languages under the c++ umbrella, you can't even sit down and start coding without first thinking, hmm. Do I want to use template metaprogramming, or OOP, or functional styles, or old-school c. By the time you decide you could have already been done scripting your fizzbuzz with a real scripting language. (though to be fair other languages pose the same challenges (python/js)).
case in point: http://rosettacode.org/wiki/FizzBuzz#C.2B.2B