Quote:
Originally Posted by Chompy
I didn't know the code gallery was the place to get your scripts grilled under the grill.
|
The code gallery is a place for people to post helpful scripts. By posting on the code gallery, you are always setting an example if someone likes your script. Therefore, it is very important for people to comment if something is being done incorrectly so that people who do want to use this script can change it to be more efficient/effective. We don't need to teach bad habits
I don't see people just grilling his script for no reason, they are providing real reasons why ____ is bad. For example, if you have a constant number, 575, you should just write 575 instead of calculating the value every single time. As Crow said, calculating 10^2.76 each time takes up more processing time than is necessary. Granted, it doesn't really make a big difference in this situation, it's still valuable knowledge to hold onto, and I think many scripters can benefit from this kind of advice.
Constructive criticism is an important part of learning how to be a better scripter. Deas, instead of becoming offended by these posts, you should embrace them and appreciate their helpful feedback, because it's not just blatant bashing.