Difference between class(java) and closure(javascript)? -


I do not understand how close the closure is more powerful than the class. It seems that I can get the same behavior as closing down the class. Any help would be appreciated

"post-text" itemprop = "text">

Closers are bad people's objects / objects are bad men's closure

Please see:

For the lazy:

Respected Master Qc was walking with his student, Anton. Hoping to signal the master in a discussion, Anton said, "Master, I have heard that things are very good - is this true?" QC looked kindly on his student and said, "Stupid students - only one poor person is in the closure."

Concerned, Anton has taken his leave from his master and intends to study Closer. He carefully read the series of "Lambda: The Ultimate ..." letters and his cousins ​​carefully, and implemented a small scheme lecturer with a closing-based object system. He learned a lot, and was quick to inform his master of his progress.

On his next move with QC, Anton tried to influence his master "Guru, I have studied this topic carefully, and now understand that objects are actually a poor man's Closed. "QC said, giving Anton to his stick," When will you learn? Closer is the object of a poor man. " At that time, Anton became enlightened.

& mdash;


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -