01.10.2013, 07:25
I'm not sure why you're bashing every language except C++. They all serve different purposes.
What's wrong with HTML? What do you think websites should be written with? Some C++ JIT compiler in the web browser that uses 20 frameworks to write "hello world"?
Not sure what you mean with low-level PHP code - PHP is anything but low-level!
It's also a much better fit for serving web pages than C++. Think about continuous integration, ease of maintenance, cross-compatibility, and - yes - the learning curve. Anyone can learn to start modifying bits of PHP scripts to fit their needs very quickly, the same can't be said for C++.
The same goes for every other language out there. If you don't want a compiler, make your programs on circuit boards.
Yes, and it all works silky smooth!
Then, in production, you have tons of memory leaks, way too high CPU usage, and other fun stuff. Why is that? Because you only learned C++ to script SA-MP servers, you didn't learn every aspect of C++. You just wanted to write some code!
What now? No clue! Where could the errors be? No clue! You didn't write the functions you used.
(I don't mean "you" being "Deji")
C++ is great for SA-MP servers if you're very familiar with it, yes, but Pawn is a much better choice for most people.
Quote:
If I could yell at everyone that HTML should not be written and should not even be identifiable |
Quote:
what with all the ugly low-level PHP code surrounding it |
It's also a much better fit for serving web pages than C++. Think about continuous integration, ease of maintenance, cross-compatibility, and - yes - the learning curve. Anyone can learn to start modifying bits of PHP scripts to fit their needs very quickly, the same can't be said for C++.
Quote:
PAWN isn't a real thing without the compilers to build it... |
Quote:
if you're like me, you barely ever even write code. Most of the type you are trying to figure out what to add to your object classes and custom types... Once you've done that, a little bit of code and you've implemented a fully stable and efficient feature. It's easy, when you know how... |
Then, in production, you have tons of memory leaks, way too high CPU usage, and other fun stuff. Why is that? Because you only learned C++ to script SA-MP servers, you didn't learn every aspect of C++. You just wanted to write some code!
What now? No clue! Where could the errors be? No clue! You didn't write the functions you used.
(I don't mean "you" being "Deji")
C++ is great for SA-MP servers if you're very familiar with it, yes, but Pawn is a much better choice for most people.