Scripting in the Stack vs the Card
Posted: Sun Oct 11, 2015 3:07 am
Hey there,
I've done a few small applications - all of which have used only one card - so I had all of my code in one place.
I didn't even use the script editor for the individual objects - everything was in the card script.
So my question is this -
What are the pros and cons to having all of your code in one place?
Instead of having your code split amongst the various cards, why couldn't I have it all in the stack?
I kind of like having everything right in front of me, versus needing to flip back and forth amongst cards to find and edit what I need.
I'm just thinking long term here - once I start developing larger apps that have several cards, lots of variables, etc.
I don't want to start off by creating bad habits.
I've done a few small applications - all of which have used only one card - so I had all of my code in one place.
I didn't even use the script editor for the individual objects - everything was in the card script.
So my question is this -
What are the pros and cons to having all of your code in one place?
Instead of having your code split amongst the various cards, why couldn't I have it all in the stack?
I kind of like having everything right in front of me, versus needing to flip back and forth amongst cards to find and edit what I need.
I'm just thinking long term here - once I start developing larger apps that have several cards, lots of variables, etc.
I don't want to start off by creating bad habits.