Eazy dont neseserly means best solution
but it in this case, i must say that im not so impressed with the hole local function consept. i have seent it in use it a fiew other langugages, like Delphi, but it is not somting i whod use for my larger projekts.
however, i like the freedom of shoise.
but your are right, it is not a nessesery thing, but the hole thinking is the same as the methods in objekts and not making it all in one huge pile of functions.
one dont want the "interface" to show you more then what you can/need to use.
it is more a way to make things clear to your self and others, that this bit of source, is only made to run in this function.
you can gaint the same respons when trying to explain OOP consept for C programmers, thay dont see the point of having functions inside methods, when it is "so mutsh nicer" with them all global. :)
well, hope it helps ;)
but it in this case, i must say that im not so impressed with the hole local function consept. i have seent it in use it a fiew other langugages, like Delphi, but it is not somting i whod use for my larger projekts.
however, i like the freedom of shoise.
but your are right, it is not a nessesery thing, but the hole thinking is the same as the methods in objekts and not making it all in one huge pile of functions.
one dont want the "interface" to show you more then what you can/need to use.
it is more a way to make things clear to your self and others, that this bit of source, is only made to run in this function.
you can gaint the same respons when trying to explain OOP consept for C programmers, thay dont see the point of having functions inside methods, when it is "so mutsh nicer" with them all global. :)
well, hope it helps ;)