International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Call for Papers | Fully Refereed | Open Access | Double Blind Peer Reviewed

ISSN: 2319-7064


Downloads: 103 | Views: 262

Research Paper | Computer Science & Engineering | India | Volume 3 Issue 7, July 2014 | Popularity: 6.7 / 10


     

A New View on Method-calls and Contracts to Facilitate Developers in making their Design Decisions

Dr. G. Manoj Someswar, M. Ratna Raju


Abstract: Existing concepts are time tested and are used for the very purpose of integrity, reliability and accuracy. A comprehensive overview of these concepts helps the software developers to take appropriate decisions with a view to procure accurate results with successful implementation. Even reinventing things often opens a new angle and helps to gain a deeper understanding of the related topics. Calling a method of a component is a very basic process, but it is not as simple as it seems. Each method must be called by using the correct parameters and will often return a value or an object reference. There are a lot of possible reasons why a call may cause an error. Some of these reasons, like an incorrect signature, can be checked by the compiler. Other reasons cannot be checked by the compiler because it is not possible to specify them in the chosen language. As an instance for the problem in consideration, it is clearly indicative from the developers point of view that there is the possibility of occurence of dependencies in the used parameters due to the reason that there will be two integer parameters and the first parameter will be necessarily greater than the second one. There are other specific reasons for the occurrence of a possible error during a call which could necessarily be a busy device, an incorrect initialized object, a reference to a deleted object etc. The best thing a developer can be able to do is to clearly specify the behavior of the object when the call cannot be finished successfully. The behavior is defined by an exception, so that it is possible to react to this error. This research paper tries to open a new view on method-calls and contracts to facilitate developers in making their design decisions in the area of software engineering and design.


Keywords: deterministic call, nondeterministic call, method call, component, state, state machine, pseudo linear contract


Edition: Volume 3 Issue 7, July 2014


Pages: 2264 - 2273



Make Sure to Disable the Pop-Up Blocker of Web Browser




Text copied to Clipboard!
Dr. G. Manoj Someswar, M. Ratna Raju, "A New View on Method-calls and Contracts to Facilitate Developers in making their Design Decisions", International Journal of Science and Research (IJSR), Volume 3 Issue 7, July 2014, pp. 2264-2273, URL: https://www.ijsr.net/getabstract.php?paperid=2014266, DOI: https://www.doi.org/10.21275/2014266



Downloads: 656 | Views: 2004

Computer Science & Engineering, India, Volume 9 Issue 7, July 2020

Pages: 1454 - 1458

Heart Disease Prediction with Machine Learning Approaches

Megha Kamboj


Downloads: 401 | Views: 720

Computer Science & Engineering, India, Volume 7 Issue 11, November 2018

Pages: 1951 - 1955

Hadoop Performance Improvement using Metadata and Securing with Oauth Token

Swapnali A. Salunkhe, Amol B. Rajmane


Downloads: 386 | Views: 701

Computer Science & Engineering, India, Volume 9 Issue 12, December 2020

Pages: 1 - 3

Comparative Study of Conventional Desktop Computer and Compute Stick

Aadarsh Sooraj, Sooraj G.


Downloads: 354 | Views: 700

Computer Science & Engineering, India, Volume 3 Issue 6, June 2014

Pages: 629 - 632

Review Paper on Secure Hashing Algorithm and Its Variants

Priyanka Vadhera, Bhumika Lall


Downloads: 336 | Views: 689

Computer Science & Engineering, India, Volume 3 Issue 6, June 2014

Pages: 2148 - 2152

The Impact and Application of 3D Printing Technology

Thabiso Peter Mpofu, Cephas Mawere, Macdonald Mukosera


Top