🕸📝Fergus Duniho wrote on Wed, Jun 22, 2016 02:18 PM UTC:
While it is a bad programming practice to use variables in a subroutine that were created as local variables in another subroutine, I have discovered that I did this with the castle subroutine. Although I could change this in the include file it appears in, this could have effects on games that include the include file but also use custom versions of the subroutines calling it. So, to update the language without breaking anything, I would have to update the code written with the language first, and that could be a bigger project.
While it is a bad programming practice to use variables in a subroutine that were created as local variables in another subroutine, I have discovered that I did this with the castle subroutine. Although I could change this in the include file it appears in, this could have effects on games that include the include file but also use custom versions of the subroutines calling it. So, to update the language without breaking anything, I would have to update the code written with the language first, and that could be a bigger project.