[Tutorial] Function Type Explanation (stock, public, plain)
#10

Quote:
Originally Posted by Cell_
Посмотреть сообщение
Why would someone put something in their GM when they aren't even going to use it?
Look I'm not saying it's wrong to not use stock, I'm just saying there are reasons for and against. The advice to not use stock a lot should not be held as gospel... my personal experience suggests to use stock whenever.

If you've written a massive script and had to maintain it for years then you'll know there are times when you remove references to variables or functions as a result of optimising or removal of a bugged feature (in order to keep a server playable). Traversing multiple source code files without a decent Pawn IDE can annoyingly be time consuming and/or you may want to keep a function or variable name reserved for use later on. Sometimes you might define the implementation of something while you have a working train of thought but not actually have a use for it until you've finished something else.

Writing large game modes usually involves writing a set of internal libraries, defining internal methods for developers in a team that may not be used yet. Extra warnings are usually non-useful noise to me.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)