• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Probably a silly question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Probably a silly question


  • Subject: Re: Probably a silly question
  • From: Markus Ruggiero <email@hidden>
  • Date: Mon, 19 Dec 2011 12:07:22 +0100

On 19.12.2011, at 11:51, Gino Pacitti wrote:

> Hi...
> In the Wonder examples there are variables with underscore...
>
> 	public NSData _data;
> 	public AjaxUploadProgress _uploadProgress;
> 	public AjaxProgress _progress;
>
> Any significance???
>

Hi Gino,

as far as I know from the old days of WebObjects/Objective-C variables with _ were meant to be private vars (there was no public/private then). Many folks coming from those days still use this naming convention. It is a visual clue to the human developer and has no technical significance. I haven't looked at those examples but I guess that is it. Weird anyway that the vars are public and visually marked private.

---markus---


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Probably a silly question
      • From: Gino Pacitti <email@hidden>
References: 
 >Probably a silly question (From: Gino Pacitti <email@hidden>)

  • Prev by Date: WOLips on Windows
  • Next by Date: WO "related" jobs in Amsterdam
  • Previous by thread: Probably a silly question
  • Next by thread: Re: Probably a silly question
  • Index(es):
    • Date
    • Thread