Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. OOP

OOP

Scheduled Pinned Locked Moved Database
oopquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    candz_kritz
    wrote on last edited by
    #1

    Hi... What the advantages are of object oriented programming over Procedural coding? Thank you... :)

    L P S 4 Replies Last reply
    0
    • C candz_kritz

      Hi... What the advantages are of object oriented programming over Procedural coding? Thank you... :)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You could easily discover papers on the subject through a Google search. Also, this forum is for questions about using Database software.

      Use the best guess

      1 Reply Last reply
      0
      • C candz_kritz

        Hi... What the advantages are of object oriented programming over Procedural coding? Thank you... :)

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Wrong forum. And it's it's a situational thing; use the right tool for the right job.

        1 Reply Last reply
        0
        • C candz_kritz

          Hi... What the advantages are of object oriented programming over Procedural coding? Thank you... :)

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          candz_kritz wrote:

          What the advantages are of object oriented programming over Procedural coding?

          The most obvious one to me is readability; in the procedural days I was often passing a structure to each procedure as a param (to avoid using a global var, which is even uglier) - now it's nicely embedded in the object as a private field. There's more advantages which improve life, like inheritance. If it's homework, I'd recommend the Wikipedia; it'll be more complete in it's definitions.

          Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

          1 Reply Last reply
          0
          • C candz_kritz

            Hi... What the advantages are of object oriented programming over Procedural coding? Thank you... :)

            S Offline
            S Offline
            SaqibRasheed
            wrote on last edited by
            #5

            Procedural coding is about procedures/functions. We write procedures which just take an input and produce an output. They don't have any kind of relation with another procedure. Sometimes they are just able to use some global or shared data when required. OOP is all about objects. We do write procedures/functions in OOP, but the main thing is the class. A class has a relation; it can be a parent or base class, it can be a child class. And then we do things on the objects created by those classes. As classes have relation so we can say that the the objects of those classes do have the relations also. For deeper understanding, you should check for articles online. Just google :)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups