hkucuk

Category: Computer

SOLID - Liskov Substitution Principle

November 15, 2021 • ☕️ 5 min read • 🏷 computer, software, solid

The Liskov Substitution Principle (LSP) is an inheritance principle developed by Barbara Liskov, which makes it possible to replace a subclass in a class's inheritance tree with a higher-level class. According to this principle, in order for subclasses to be used in place of higher-level classes, subclasses must have the same properties and behaviors.

Differences Between Array and Slice in GoLang

October 9, 2021 • ☕️ 3 min read • 🏷 computer, software

The Array data type is a fixed-length data structure in which an array of elements is of the same data type. When defining arrays, the number of elements and the data type of each element are specified. Slice data type, on the other hand, is a dynamic-length data structure that is not fixed-length, unlike arrays. The number of elements is not specified when defining slices.

SOLID - Open Closed Principle

August 26, 2021 • ☕️ 4 min read • 🏷 computer, software, solid

The open-closed principle is a programming principle that stipulates that a class should not be modified to extend its functionality, but that new classes should be created to add new functionality. This principle makes our programs more flexible, integrated and easier to maintain.

SOLID - Single-Responsibility Principle

May 25, 2021 • ☕️ 3 min read • 🏷 computer, software, solid

The single-responsibility principle is a programming principle that stipulates that a class or function should have only one task. This principle makes our programs less error-prone, easier to understand, and easier to maintain.

Reverse Proxy and Basic Authentication in VirtualHost

March 11, 2021 • ☕️ 4 min read • 🏷 computer, software

When setting up a web server, there are usually sections that we want to restrict access to. Web applications often provide their own authentication and authorization methods, but in some cases we may want to restrict access through the web server itself.

The Art of Sorting Data with Heap Sort

November 10, 2019 • ☕️ 4 min read • 🏷 computer, software, algorithm

Sorting algorithms form one of the cornerstones of computer science. When computers work with data, organizing and sorting that data is a frequent requirement. Therefore, sorting algorithms are an indispensable part of computer science and software development.

12345