Results 1 to 2 of 2

Thread: Properties versus Parameters...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2002
    Posts
    65

    Properties versus Parameters...

    Which is better, passing parameters to an object or setting properties of the object? Is there some kind of thumb rule to make the decision?

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    I asume you mean passing parameter when declaring a new object ().

    This is easier and cleaner then setting them individually.

    Could you give an example of what you mean?
    I don't live here any more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width