Re: Why is RAII called RAII?

Discussion in 'C++' started by cpp4ever, Sep 12, 2010.

  1. cpp4ever

    cpp4ever Guest

    On 09/12/2010 06:37 PM, Rolf Magnus wrote:
    > Hi,
    >
    > RAII stands for "resource acquistion is initialization", but it seems
    > unlogicyl to me since the concept is not at all about acquiring resources,
    > but rather about releasing them as part of the deinitialization
    > (destructor). In fact, in many cases, the resources at not acquired at
    > initialization time but later on during object lifetime. So why is it called
    > RAII after all?
    >


    Why is Microsoft so named,being a good code bloater?

    cpp4ever
    cpp4ever, Sep 12, 2010
    #1
    1. Advertising

  2. "cpp4ever" <> wrote in message
    news:sicjo.47111$2...
    > On 09/12/2010 06:37 PM, Rolf Magnus wrote:
    >> Hi,
    >>
    >> RAII stands for "resource acquistion is initialization", but it seems
    >> unlogicyl to me since the concept is not at all about acquiring
    >> resources,
    >> but rather about releasing them as part of the deinitialization
    >> (destructor). In fact, in many cases, the resources at not acquired at
    >> initialization time but later on during object lifetime. So why is it
    >> called
    >> RAII after all?
    >>

    >
    > Why is Microsoft so named,being a good code bloater?
    >


    it comes from "Microcomputer"...

    I think the term "Desktop PC" came along somewhat later (I don't know when
    exactly, maybe "IBM PC" leads to "IBM PC compatible" and "Desktop PC" as a
    generalization?...).

    or such...
    BGB / cr88192, Sep 13, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Apricot
    Replies:
    4
    Views:
    511
    velthuijsen
    Apr 16, 2004
  2. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,744
    Smokey Grindel
    Dec 2, 2006
  3. S_K
    Replies:
    6
    Views:
    1,159
    Robert Dunlop
    Nov 8, 2007
  4. Johannes Schaub (litb)

    Re: Why is RAII called RAII?

    Johannes Schaub (litb), Sep 12, 2010, in forum: C++
    Replies:
    2
    Views:
    388
    James Kanze
    Sep 18, 2010
  5. Goran Pusic

    Re: Why is RAII called RAII?

    Goran Pusic, Sep 13, 2010, in forum: C++
    Replies:
    11
    Views:
    538
    ptyxs
    Sep 16, 2010
Loading...

Share This Page