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. General Programming
  3. C#
  4. Is OOP used much in scientific applications?

Is OOP used much in scientific applications?

Scheduled Pinned Locked Moved C#
question
5 Posts 5 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.
  • L Offline
    L Offline
    Lurker00
    wrote on last edited by
    #1

    Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...

    C V R 3 Replies Last reply
    0
    • L Lurker00

      Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Lurker00 wrote:

      mainly used in large office and financial app's...

      Probably true, in that there are probably more of them written. Given the speed of PCs today, I see no need for you to use plain C for scientific code, which means there's no reason not to use OOP. Certainly, if you're using C#, you will use OOP, you have no choice.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      P 1 Reply Last reply
      0
      • C Christian Graus

        Lurker00 wrote:

        mainly used in large office and financial app's...

        Probably true, in that there are probably more of them written. Given the speed of PCs today, I see no need for you to use plain C for scientific code, which means there's no reason not to use OOP. Certainly, if you're using C#, you will use OOP, you have no choice.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        I agree with your points. I don't see why one couldn't use OOP in scientific programming.

        1 Reply Last reply
        0
        • L Lurker00

          Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...

          V Offline
          V Offline
          Vega02
          wrote on last edited by
          #4

          I think it's a matter of whether or not OOP makes sense. For example, a scientific application dealing with specific representations of numbers (in a matrix, perhaps) and operating on those representations would do well to use OOP. I'd say that C is probably best in a compact (few KB in size), high-performance scientific library.

          1 Reply Last reply
          0
          • L Lurker00

            Could anyone tell me if OOP is used much in scientific applications please? I've gotten the impression from some sources that OOP is mainly used in large office and financial app's...

            R Offline
            R Offline
            Russell Jones
            wrote on last edited by
            #5

            the answer i've always heard on this is that OO code is seen as non-deterministic by a lot of scientists. The scientific code i have seen written in OO languages tends to separate the entity objects from the control objects which largely gets round these problems The few scientific computer users i know are all Fortran users and i suspect that they are using libraries that have been developed and performance tuned over the course of many years, unlike banks, scientific institutions often have small budgets and loads of inertia.

            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