What is the difference between a private and public funtion?
Posted
by Kyle
on Stack Overflow
See other posts from Stack Overflow
or by Kyle
Published on 2010-04-15T19:49:26Z
Indexed on
2010/04/15
19:53 UTC
Read the original article
Hit count: 224
I am a new programmer, and I started in C and am now starting to enjoy JavaScript and a tiny bit of PHP more. Lately I've heard the terms 'private' and 'public' functions a lot. Could anybody give an explanation of the both and how they are of use to a programmer?
And I'm probably totally wrong here... but is a
(function(){})
in javascript a private function?
© Stack Overflow or respective owner