couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Ratky <>
Subject Re: Data.js — A Graph Manipulation Framework on top of CouchDB
Date Tue, 17 May 2011 12:41:00 GMT
Usually it denotes the private API of the object, functions that you're not supposed to call
from the outside. As there are no private / protected / public functions in JavaScript, this
naming convention is used.

Hope that helps,
On Tuesday, May 17, 2011 at 2:39 PM, Peter Nolan wrote:
Don't mean to highjack the email chain, but somethings been bugging me for
> quite some time and was hoping one of you guys could help me.
> In general, what does the underscore symbol generally mean in OOP? For
> example, when viewing other peoples code i see a bunch of {}._someProperty -
> why do they add the underscore?
> Generally when i code i add the underscore symbol as a simple means of
> keeping the 'important' stuff first in the directory listing on my computer.
>  But what does it generally mean to the community?
> (underscore.js is what prompted this question btw)
> Great work again man,
> -Pete

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message