Article
In this article, we'll be breaking down the Builder Design Pattern and showing it's application in Java. Design Patterns are simply sets of standardized practices commonly used in the software development industry. They represent solutions, provided by the community, to common problems faced in every-day tasks regarding software development. Knowing...
Guest Contributor
If you wanted to select elements from an array or object before the ES2015 update to JavaScript, you would have to individually select them or use a loop. The ES2015 specification introduced the destructuring assignment, a quicker way to retrieve array elements or object properties into variables. In this article,...
In this post, we will dive into MongoDB as a data store from a Python perspective. To that end, we'll write a simple script to showcase what we can achieve and any benefits we can reap from it. Web applications, like many other software applications, are powered by data. The...
Robley Gori
Checking if a file or directory exists is a simple and important operation in many tasks. Before accessing a file, we should check if it exists to avoid a NullPointerException. The same goes for directories. While some functions may create a new file/directory if the requested one doesn't exist,...
David Landup
Sorting, although a basic operation, is one of the most important operations a computer should perform. It is a building block in many other algorithms and procedures, such as searching and merging. Knowing different sorting algorithms could help you better understand the ideas behind the different algorithms, as well as...
Sajjad Heydari
Test "mocks" are objects that replace real objects while simulating their functions. A mock also has expectations about how the functions being tested will be used. In some unit test cases we may want to combine the functionality of spies, to observe a method's behavior under call, and...
Allan Mogusu
The main focus of this article is to help you understand how Spring's @Value annotation works. @Value is a Java annotation that is used at the field or method/constructor parameter level and it indicates a default value for the affected argument. It is commonly used for injecting values into...
Object-Oriented Programming (OOP) encourages us to model real-world objects in code. And the thing with objects is that some share outward appearances. Also, a group of them may display similar behavior. Java is an excellent language to cater to OOP. It allows objects to inherit the common characteristics of a...
Hiram Kamau
For most people, Bubble Sort is likely the first sorting algorithm they heard of in their Computer Science course. It's highly intuitive and easy to "translate" into code, which is important for new software developers so they can ease themselves into turning ideas into a form that can...
Olivera Popović
© 2013-2025 Stack Abuse. All rights reserved.