Your preferred scripting methods
#3

The language features that exist should be used to suit the best case scenario for a given situation. Asking for preferences on syntax is fine, but things like #3, "stock" and "public" keywords just show one's lack of knowledge for the language they're using.

For example, when one writes a library they should declare variables (if not all) and functions that are only used internally by the library as static. For the functions called by the script that include the library, but not necessary to be called, should be stock.

I've wanted to write a tutorial describing how to use PAWN properly, but I feel like it would be a waste (just look at YSI).
Reply


Messages In This Thread
Your preferred scripting methods - by Emmet_ - 03.12.2013, 04:22
Re: Your preferred scripting methods - by Djole1337 - 03.12.2013, 05:15
Re: Your preferred scripting methods - by Bakr - 03.12.2013, 05:17
Re: Your preferred scripting methods - by Kyosaur - 03.12.2013, 05:27
Re: Your preferred scripting methods - by Pottus - 03.12.2013, 06:02
Re: Your preferred scripting methods - by Slice - 03.12.2013, 06:47
Re: Your preferred scripting methods - by iZN - 03.12.2013, 07:02
Re: Your preferred scripting methods - by Emmet_ - 03.12.2013, 08:04
Re: Your preferred scripting methods - by Slice - 03.12.2013, 09:47
Re: Your preferred scripting methods - by Kyle - 03.12.2013, 13:28

Forum Jump:


Users browsing this thread: 2 Guest(s)