Author: admin

  • Variables, Constants and Literals

    Variables are the memory locations, which hold any data to be used by any program. There are five types of variables supported by Ruby. You already have gone through a small description of these variables in the previous chapter as well. These five types of variables are explained in this chapter. Ruby Global Variables Global…

  • Features

    JavaScript Features JavaScript is a highly popular and widely-used programming language for web development. It has a variety of features that make it powerful and flexible. Some of these features include being dynamic, lightweight, interpreted, functional, and object-oriented. Many open-source JavaScript libraries are available, facilitating the utilization of JavaScript in both frontend as well as…

  • Overview

    What is JavaScript? JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented capabilities. JavaScript is a single-threaded programming language that we can use for client-side or server-side development.…

  • Classes and Objects

    Ruby is a perfect Object Oriented Programming Language. The features of the object-oriented programming language include − These features have been discussed in the chapter Object Oriented Ruby. An object-oriented program involves classes and objects. A class is the blueprint from which individual objects are created. In object-oriented terms, we say that your bicycle is an instance of…

  • Syntax

    Let us write a simple program in ruby. All ruby files will have extension .rb. So, put the following source code in a test.rb file. Here, we assumed that you have Ruby interpreter available in /usr/bin directory. Now, try to run this program as follows − This will produce the following result − You have seen…

  • Environment Setup

    Local Environment Setup If you are still willing to set up your environment for Ruby programming language, then let’s proceed. This tutorial will teach you all the important topics related to environment setup. We would recommend you to go through the following topics first and then proceed further − Popular Ruby Editors To write your…

  • Overview

    Ruby is a pure object-oriented programming language. It was created in 1993 by Yukihiro Matsumoto of Japan. You can find the name Yukihiro Matsumoto on the Ruby mailing list at www.ruby-lang.org. Matsumoto is also known as Matz in the Ruby community. Ruby is “A Programmer’s Best Friend”. Ruby has features that are similar to those of…

  • Continuous Evolution and Innovation

    Despite its maturity, OOP continues to evolve, integrating new features and paradigms such as aspect-oriented programming (AOP) and functional programming (FP) elements. This evolution reflects the dynamic nature of software development, ensuring OOP remains relevant and effective in addressing contemporary programming challenges.

  • Object-Oriented Databases

    Reflecting OOP’s broad applicability, object-oriented databases are designed to store, manage, and retrieve objects. These databases are particularly suited for applications requiring complex data models, such as CAD systems, multimedia repositories, and content management systems.

  • Impact on Software Development Methodologies

    OOP has significantly influenced various software development methodologies, including Agile, Scrum, and Extreme Programming (XP). These methodologies often leverage OOP principles to facilitate iterative development, emphasizing teamwork, customer feedback, and flexible response to change.