Thread: No properties in c++?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    completely
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    You've broken encapsulation for all of us?b@stArD! You gonna fix it??

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    You should see me break inheritance. I'm master at that. I need a less thick skull

    EDIT: I mean polymorphism... I do need that skull
    Last edited by Mario F.; 08-04-2006 at 07:39 PM.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    It is actually possible to emulate properties using proxy objects, but it's not particularly useful, and they don't behave exactly like public member variables.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >A tendency towards monolithic classes is not a direct result of refraining from exposing internals.
    No, it's the direct result of the tendency to make everything a member, which is precisely what I was referring to and what you seemed to be suggesting.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No Version info tab in file properties?
    By cpjust in forum Windows Programming
    Replies: 2
    Last Post: 06-03-2008, 03:42 PM
  2. Replies: 0
    Last Post: 04-28-2008, 11:53 PM
  3. keeping a console programs properties
    By h_howee in forum C++ Programming
    Replies: 6
    Last Post: 02-23-2006, 06:38 PM
  4. Inputting data from a table of properties
    By cassius in forum C Programming
    Replies: 1
    Last Post: 06-01-2005, 11:22 AM
  5. mp3 file properties in windows xp
    By JamesMI in forum Tech Board
    Replies: 7
    Last Post: 01-07-2004, 09:48 AM