When I create a new class file in Flex 3 it warns me that I should not use the default package.
I personally never used packages before, but think that packages won’t make things any more easier since I just want to be able to use all my classes everywhere without importing all kinds of packages which I would have to remember the names and their purposes of.
My question is if my behaviour will result in problems in the future. And if so, why? Or am I not alone here?
If you dislike creating too many packages, create just one and put into it everything you have now in the default package.
Why may you need packages? It is:
Like if you have your classes “in a wild” when they are outside the packages and then “domesticate” them and they can’t do anybody any harm. If you don’t wish to share your code, there’s still a reason for using packages, because in time your code gets more complex and you want to have some means to organize it into some logical structure.