Ruby is a well-known programming language. It aims to improve simplicity and productivity. It’s also a fully object-oriented programming language. In addition, Ruby comes with an elegant syntax that’s natural to read and easy to write. Any programming requires managing various data types. A data type describes a specific class of data. It tells the machine how it should handle …
Working with Strings in Ruby
Ruby is an interpreted, dynamic, reflective, object-oriented programming language. Developed by Yukihiro Matsumoto, Ruby focuses on simplicity and productivity. The elegant syntax allows developers to read and write code easier. In this guide, we will be working with strings in Ruby. Prerequisites To perform the steps demonstrated in this tutorial, you need the following components: A properly-configured Ubuntu system. Learn …
How to Import Packages in Go
Go (also known as Golang) is an open-source, statically typed programming language. It was originally developed by Google. Some notable features of Go include simplicity, high performance, readability, and efficiency. Like any other prominent programming language, the standard library of Go offers a rich set of packages. However, we can also extend the functionalities by incorporating third-party packages. This guide …
JavaScript Tools: localStorage and sessionStorage
JavaScript (often abbreviated as JS) is one of the foundations of the modern web infrastructure. It’s a lightweight, interpreted, object-oriented programming language that supports first-class functions. JavaScript is mostly known for its implementation in dynamic web pages. Because of its features, however, JavaScript is also used in non-browser environments. In this guide, we will discuss in detail two JavaScript objects: …
Installing R on Ubuntu 21.04: A Tutorial
R is a programming language that specializes in working with data. R is free software that supports an extensive catalog of statistical and graphical methods. The list includes various machine learning algorithms, time series, linear regression, and more. It’s used by industry giants like Google, Facebook, Airbnb, Uber, etc. As the description suggests, R is the go-to option when big …
Using MySQL with Ruby on Rails App on Ubuntu 21.04
Ruby is a powerful programming language. It’s an interpreted, high-level, and general-purpose language that incorporates multiple programming paradigms. Yukihiro Matsumoto, the creator of Ruby, blended various parts of his favorite programming languages like Perl, Ada, Lisp, Eiffel, Smalltalk, etc., and created Ruby. In his own words, he intended to make Ruby “more natural, not simple”. Much of the popularity of …
Building and Installing Go Programs
Go is a statically typed programming language. Originally designed by Google, Go shares similarities with C in terms of syntaxes. However, in functionality, Go comes with additional features like memory safety, garbage collection, structural typing, etc. Over the past few years, Go has been gaining incredible popularity. This guide will go over the steps of building and installing Go programs …
Using *args and **kwargs Parameters in your Code: a Python 3 Tutorial
Introduction Python is one of the most popular programming languages worldwide. In Python, parameters are a part of function definitions. They enable you to specify certain arguments for a function. The argument can be accepted and applied by the function. However, it is not possible for you to know at the time of coding what exact use cases may be …
What is jQuery and How Can You Use It?
Introduction If you are familiar with the world of programming, you know just how important programming languages are. Some of the most critical and frequently used ones include HTML, CSS, and JavaScript. Where HTML and CSS help you design and structure your website, JavaScript enables you to make it interactive. There are a number of JavaScript libraries you can use …
Working with JavaScript: How Prototypes and Inheritances Operate
Introduction JavaScript is one of the most popular programming languages. If you know anything about computer programming, you have probably heard of JavaScript. If you dig into a little more detail, you will discover that JavaScript is a prototype-based language. This means that you can use general objects to share object properties and methods. You can clone or even extend …
A Guide on Adding JavaScript to HTML
Introduction JavaScript needs no introduction. It is one of the most popular programming languages for web development. It works similar to HTML and CSS. All of these languages help design and develop web-based applications and programs. So how is JavaScript useful in particular? With the help of JavaScript, you can make your web applications and web pages quite interactive. There …