ÃÑ ÆäÀÌÁö ¼ö : 3224

Àüü ÇÔ¼ö/¿ë¾î»çÀü
Facebook Joinc ±×·ì   Joinc QA »çÀÌÆ®
ÇöÀçÀ§Ä¡ : article>why_not_object_oriented



joinc´Â Firefox¿Í chrome¿¡¼­ Å×½ºÆ® Çß½À´Ï´Ù. IE¿¡¼­´Â Å×À̺íÀÌ ±úÁö°Å³ª À̹ÌÁö°¡ º¸ÀÌÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù. ƯÈ÷ ±¸±Û DocsÀ̹ÌÁöÀÇ °æ¿ì ¿¢¹Úó¸®µÉ ¼ö ÀÖ½À´Ï´Ù.

¿Ö °´Ã¼ÁöÇâÀ̶õ ¸»Àº Ʋ¸°¹ø¿ªÀΰ¡

Ãâó : http://kldp.org/~bangjy/object-oriented.html

ÄÚºôµå ¿µ¾î»çÀü(Cobuild English Dictionary)Àº object¶õ ´Ü¾î¸¦ ´ÙÀ½°ú °°ÀÌ Á¤ÀÇÇϰí ÀÖ´Ù:

  1. An object is anything that has a fixed shape or form, that you can touch or see, and that is not alive.
  2. The object of what someone is doing is their aim or purpose.
  3. The object of a particular feeling or reaction is the person or thing it is directed towards, or the person or thing that causes it.
  4. In grammar, the object of a verb or a preposition is the word or phrase which completes the structure begun by the verb or preposition.
  5. If you object to something, you express your dislike or disapproval of it.
  6. (»ý·«)

±×¸®°í Apple 94¿¡ º¸¸é object¸¦ ´ÙÀ½°ú °°ÀÌ ¼³¸íÇϰí ÀÖ´Ù:

    "Every object has both state (data) and behavior (operations on data). In that, they're not much different from ordinary physical objects. It's easy to see how a mechanical device, such as a pocket watch or a piano, embodies both state and behavior. ..."


    "¸ðµç object´Â »óÅÂ(µ¥ÀÌÅÍ)¿Í ÀÛ¿ë(µ¥ÀÌÅÍ¿¡ ´ëÇÑ ¿¬»ê)À» °¡Áö°í ÀÖ´Ù. ±×·¯ÇÑ Á¡¿¡¼­ object´Â ÀϹÝÀûÀÎ ¹°¸®Àû object¿Í Å©°Ô ´Ù¸£Áö ¾Ê´Ù. ÁÖ¸Ó´Ï ½Ã°è³ª ÇǾƳ배Àº ±â°è ÀåÄ¡°¡ »óÅÂ¿Í ÀÛ¿ëÀ» ¾î¶»°Ô ³»Æ÷Çϰí ÀÖ´ÂÁö´Â ½±°Ô ¾Ë ¼ö ÀÖ´Ù."

¿©±â¼­ object´Â ÀǽÉÀÇ ¿©Áö ¾øÀÌ À§ Á¤ÀÇÀÇ 1¹ø¿¡ ÇØ´çÇÏ´Â °ÍÀ̰í, ¿ì¸®¸»·Î´Â "¹°Ã¼"ÀÇ ¶æ°ú Á¤È®È÷ ÀÏÄ¡ÇÑ´Ù. UFO(unidentified flying object)¸¦ ¹ÌÈ®ÀÎ ºñÇà ¹°Ã¼¶ó°í ¹ø¿ªÇÏ´Â °Í°ú ¸¶Âù°¡ÁöÀÎ °ÍÀÌ´Ù.

±×·±µ¥ ¾î¶»°Ô object´Â ¹°Ã¼°¡ ¾Æ´Ñ "°´Ã¼"¶ó´Â, ¿ø·¡ÀÇ ¶æ°ú´Â °Å¸®°¡ ¸Õ ´Ü¾î·Î ¹ø¿ªµÇ¾ú°í, ±×°ÍÀÌ ´ëÁßÀûÀ¸·Î ³Î¸® ¾²ÀÌ°Ô µÈ °ÍÀϱî?

90³â´ëÃÊÂë¿¡ ÇöÀç ÇÏÀÌÅÚÀÇ Àü½ÅÀÎ ÄÉÅÚÀ̶ó´Â PC Åë½Å ¼­ºñ½ºÀÇ °Ô½ÃÆÇ¿¡¼­ object-orientedÀÇ ¹ø¿ªÀ» ³õ°í °´Ã¼³Ä, °³Ã¼³Ä ÇÏ´Â ¿­¶í Åä·ÐÀÌ ¹ú¾îÁ³´ø °ÍÀ» ÁöÄѺ» ÀûÀÌ ÀÖ´Ù. ±× ´ç½Ã °´Ã¼¸¦ ÁÖÀåÇÏ´Â »ç¶÷µéÀÇ ÀÌÀ¯¶õ ´ë°­ ÀÌ·¯Çß´Ù: "±âÁ¸ÀÇ ÇÁ·Î½ÃÀú ¾ð¾î¿¡¼­ µ¥ÀÌÅÍ´Â ÇÁ·Î½ÃÀú¿¡ ÀÇÇØ °¡°øµÇ´Â ¼öµ¿Àû Á¸Àç¿´´Ù. ÀÌ·± ¸é¿¡¼­ ÇÁ·Î½ÃÀú¸¦ ÇÁ·Î±×·¥ ½ÇÇàÀÇ ÁÖü·Î º»´Ù¸é µ¥ÀÌÅÍ´Â °´Ã¼À̰í, µû¶ó¼­ ±âÁ¸ ¾ð¾îÀÇ µ¥ÀÌÅÍ¿¡ ÇØ´çÇÏ´Â object´Â °´Ã¼°¡ ¸Â´Ù." ´ç½Ã·Î¼­´Â ÀÌó·³ ±×·²µíÇÑ ÁÖÀå¿¡ ¸Â¼³¸¸ÇÑ ÁÖÀåÀÌ ¾ø¾ú°í(¿Ö³ÄÇÏ¸é ±×¶§´Â ¾Æ¹«µµ object-oriented ÇÁ·Î±×·¡¹ÖÀ» ÇØº» ÀûÀÌ ¾ø¾ú±â ¶§¹®¿¡ object°¡ ¹«¾ùÀÎÁö ½ÇÁ¦·Î ÀÌÇØÇÑ »ç¶÷µµ ¾ø¾ú´Ù), ±×µÚ Çѱ¹Á¤º¸°úÇÐȸ¶ó´Â ´Üü¿¡¼­ object¸¦ °´Ã¼·Î ¹ø¿ªÇϱâ·Î °áÁ¤Çß´Ù´Â ¼Ò½Ä°ú ÇÔ²² ³íÀïÀº ¸·À» ³»·È´Ù.

±×·¯³ª ÀÌ»óÇÑ °ÍÀº, ±×µÚ·Î object-oriented ÇÁ·Î±×·¡¹Ö¿¡ °üÇØ ²Ï ¸¹Àº Ã¥À» ÀоúÀ½¿¡µµ ºÒ±¸Çϰí, ¿Ü±¹ÀÇ ¾î¶² Ã¥¿¡¼­µµ object¸¦ ±×·± ½ÄÀ¸·Î ¼³¸íÇÑ °ÍÀ» ã¾Æº¼ ¼ö ¾ø´Â °ÍÀ̾ú´Ù. ¾Ë°í º¸´Ï ±× ÀÌÀ¯´Â °£´ÜÇß´Ù: object´Â "º¸°Å³ª ¸¸Áú ¼ö ÀÖ°í, Çüü°¡ ÀÖ´Â Á¸Àç"¶ó´Â ³Ê¹«³ª ¸í¹éÇÑ °³³äÀ̱⠶§¹®¿¡ ÁÖü(subject)°°Àº °³³ä°ú´Â ¾Æ¹« »ó°üÀÌ ¾ø¾ú´ø °ÍÀÌ´Ù. ¿ÀÁ÷ Çѱ¹ÀÇ Àü¹®°¡µé¸¸ÀÌ object¸¦ subject¿Í ¿¬°üÁö¾î ¼³¸íÇÑ´Ù(±èÇüÀÏ 02). ¾ó¸¶ ÀÖÁö ¾Ê¾Æ object´Â ±âÁ¸ ¾ð¾îÀÇ µ¥ÀÌÅÍ¿Í ´ëÀÀÇÏ´Â °ÍÀÌ ¾Æ´Ï¶ó´Â »ç½Çµµ ¾Ë°Ô µÇ¾ú´Ù. object´Â µ¥ÀÌÅÍ¿Í µ¥ÀÌÅÍ¿¡ ´ëÇÑ ¿¬»êÀ» Çϳª·Î ¹­Àº(associate) °ÍÀÌ´Ù.

orientedÀÇ ¹ø¿ª

object µÚ¿¡ ºÙ´Â oriented¶õ Á¢¹Ì»çÀÇ ¹ø¿ªµµ À߸øµÇ¾ú´Ù. oriented´Â ¾î¶² ¹æÇâÀ̳ª ´ë»óÀ» °¡¸®Å°´Â, Áï "ÁöÇâÇÏ´Â"ÀÌ ¾Æ´Ï¶ó, ÀÌ¹Ì °¡¸®Å°°í ÀÖ´Â ´ë»óÀ» ÁÖµÈ °ü½É»ç·Î »ï°í ÀÖ´Ù´Â ¶æÀ¸·Î, "Áß½ÉÀÇ", "À§ÁÖÀÇ"¶ó´Â ¶æÀÌ ¸Â´Â ¸»ÀÌ´Ù. Áï, object-oriented¶õ "object¸¦ Áß½ÉÀ¸·Î ÇÏ´Â"À̶õ ¶æÀÌ´Ù. ÀÌ°Í ¿ª½Ã Apple 94¿¡ ³ª¿ÍÀÖ´Ù:

    "As the name implies, object-oriented programs are built around objects."


    "À̸§ÀÌ ¾Ï½ÃÇÏ´Â °Íó·³, object-oriented ÇÁ·Î±×·¥Àº object¸¦ Á߽ɿ¡ µÎ°í ¸¸µé¾îÁø °ÍÀÌ´Ù"

¾Æ¿ï·¯ ÀϹÝÀûÀ¸·Î -oriented¸¦ "ÁöÇâ"À¸·Î ¹ø¿ªÇÏ´Â °æ¿ì¿¡µµ ÀÌ ºÎºÐÀ» "Áß½É"À¸·Î ´ëÄ¡ÇÏ¸é ¶æÀÌ ÈξÀ ´õ ¸íÈ®ÇØÁö´Â °ÍÀ» ¾Ë ¼ö ÀÖÀ» °ÍÀÌ´Ù. °í°´ ÁöÇâ ¼­ºñ½º, Àΰ£ ÁöÇâ »çȸ, À©µµ¿ì ÁöÇâ °³¹ß µµ±¸ µîÀÌ ±× ÀϺÎÀÌ´Ù.

³²Àº ¹®Á¦

»ç½Ç object-oriented¸¦ "¹°Ã¼ Áß½É"À¸·Î ¹ø¿ªÇÏ´Â °ÍÀÌ ¸Â´Ù°í ÇÏ´õ¶óµµ ¾Æ¹«µµ ±×·¸°Ô ¾²Áö ¾Ê´Â´Ù¸é ¿©±â¼­ ÁÖÀåÇÑ °ÍÀº ½Ã°£ ³¶ºñ¿¡ ºÒ°úÇÏ´Ù. µû¶ó¼­ ÀÌ ±ÛÀ» ÀÐÀº ¿©·¯ºÐµéÀÌ¶óµµ "°´Ã¼ÁöÇâ"À̶ó´Â À߸øµÈ ¹ø¿ª ´ë½Å "¹°Ã¼ Áß½É"À̶ó´Â ¿ë¾î¸¦ »ç¿ëÇØ ÁÙ °ÍÀ» ºÎŹÇÑ´Ù. "¹°Ã¼"¶ó´Â ´Ü¾î°¡ ³Ê¹« ÆÄ°ÝÀûÀ̶ó¸é, "µû·Î ¶³¾îÁø ³¹³¹ÀÇ ¹°Ã¼"¸¦ ¶æÇÏ´Â "°³Ã¼"¸¦ ´ë½Å »ç¿ëÇÏ´Â °Íµµ ÁÁÀ» °ÍÀÌ´Ù.

    Âü°í

    Object-Oriented Programming and the Objective-C Language, Apple Computer, Inc., 1994
    °´Ã¼ÁöÇâÀ» ³» °ÍÀ¸·Î, ±èÇüÀÏ, ¸¶ÀÌÅ©·Î¼ÒÇÁÆ®¿þ¾î, 2002³â 1¿ùÈ£

EmailÀ» ±âÀÔÇϸé, ´ñ±ÛÀÌ ¸ÞÀÏ·Î Àü´ÞµË´Ï´Ù.