Adam

Adam

Dependency Injection

Dependency injection (DI) is a design pattern in which an object receives its dependencies, rather than creating them itself. In C#, this can be achieved through constructor injection, property injection, or method injection. The dependencies are typically interfaces, allowing the…

SQL: Subqueries vs Joins

Subqueries and joins are two important concepts in SQL, the standard programming language for managing and manipulating databases. In this blog, we will explore what subqueries and joins are, how they differ, and when to use each one in your…

Software Engineering: Interfaces.

An interface in computer science is a mechanism for specifying a contract between different software components, without specifying the implementation details. It defines a set of methods and properties that a class implementing the interface must provide, but does not…

Software Engineering: Constructors.

A constructor is a special method that is automatically called when an object of a class is created. It is used to initialize the state of the object and perform any other setup that is required. The constructor has the…

Software Engineering: Abstract classes.

An abstract class is a class that cannot be instantiated and is typically used as a base class for other classes. It defines a common interface for its subclasses, but may also contain some implementation details. An abstract class can…

Dedication vs. Motivation

As the new year approaches, the motivation for New Year’s resolutions and goals comes to mind. people are motivated to set new goals and tackle new challenges. Oftentimes — these visions are fueled by two important factors which are dedication…