THE CAVEAT OF OBJECT ORIENTED PROGRAMMING IN JAVA

Tiberiu Alexandru Alexandru, ANTAL

Abstract


The paper presents the wrong way of rewriting a code that uses procedural paradigm into a code that uses object-oriented paradigm. Because the paradigm can be data-driven or code-driven, the problem is common in code-driven paradigms, when the inexperienced programmer tries to rewrite the code under a data-driven paradigm. As today, most programming languages are multi-paradigm, the paper starts from a solved scientific problem using a structured/modular paradigm and rewrites it wrong, and then correctly using the object-oriented paradigm.


Full Text:

PDF

References


ANTAL, Tiberiu Alexandru. Principles of motion simulation of a 2 dof rr planar manipulator using java swing. Acta Technica Napocensis - Series: Applied Mathematics, Mechanics, And Engineering, v. 63, n. 1, 2020. ISSN 2393–2988.

Boehm, Corrado, & Jacopini, Giuseppe Flow Diagrams, Turing Machines, and Languages with only Two Formation Rules, Communications of the ACM, Volume 9, issue 5, pp 366-371, May 1966, https://doi.org/10.1145/355592.365646.

ANTAL, T. A., Elemente de Java cu JDeveloper - îndrumător de laborator, Editura UTPRES, 2013, p.150, ISBN: 978-973-662-827-6.

ANTAL, T. A., Java - Iniţiere - îndrumător de laborator, Editura UTPRES, 2013, p. 246, ISBN: 978-973-662-832-0.

DETESAN, Ovidiu-Aurelian. The numerical simulation of TRR small-sized robot. Acta Technica Napocensis - Series: Applied Mathematics, Mechanics, And Engineering, [S.l.], v. 58, n. 4, nov. 2015. ISSN 1221-5872.

Husty, M., Birlescu, I., Tucan, P., Vaida, C., Pisla, D.: An algebraic parameterization approach for parallel robots analysis, Mechanism and Machine Theory, vol. 140, pp. 245-257, 2019

B. Gherman, C. Vaida, D. Pisla, N. Plitea, B. Gyurka, D. Lese, M. Glogoveanu, Singularities and workspace analysis for a parallel robot for minimally invasive surgery, Automation Quality and Testing Robotics (AQTR), 2010 IEEE International Conference on, DOI: 10.1109/AQTR. 2010.5520866

Vaida, C; Plitea, N; Gherman, B; Szilaghyi, A; Galdau, B; Cocorean, D; Covaciu, F; Pisla, D; Structural analysis and synthesis of parallel robots for brachytherapy, New Trends in Medical and Service Robots, pp 191-204, 2014, DOI: 10.1007/978-3-319-01592-7_14


Refbacks

  • There are currently no refbacks.


JOURNAL INDEXED IN :