Все статьи

В архиве: 12 статей по тегу en

На этой странице собраны материалы, к созданию которых я имею прямое отношение: это статьи, написанные мной лично, тексты, в подготовке которых я участвовал как соавтор, а также публикации обо мне и моём профессиональном пути.

 

Основные площадки публикации — Хабр и Medium. Эти платформы выступают первоисточниками материалов, а ссылки здесь ведут напрямую к оригиналам.

08.09.2023
Обложка статьи: Object-Oriented Programming In The Thoughts And Experiences Of Ice-Hockey Player
Object-Oriented Programming In The Thoughts And Experiences Of Ice-Hockey Player
There are several significant paradigms in programming — approaches that determine how programmers structure and organize their code. For example, procedural programming is the most straightforward approach. Programs are organized as chains of commands or procedures that are executed sequentially. For example, a culinary recipe is similar to a program written in the procedural programming paradigm. A recipe is a set of instructions that must be executed strictly to get the finished dish. There is functional programming. This approach is based on the concept of mathematical functions that take input data and return a result. Suppose you have written a letter and want to translate it into another language, check it for grammar and spelling, and then print it out. In functional programming, each step can be a function, and each function always returns the same result given the same input data. One of the most popular approaches is object-oriented programming, OOP, where code is organized around objects and classes. Many programming uses the object-oriented approach, and beginners should understand in detail what the scary words “polymorphism,” “encapsulation,” and other terms used in this paradigm mean in practice. In this article, I will talk about the key concepts related to OOP. In the example of Python code, I will analyze how the same task can be successfully solved using procedural and object approaches. But let’s start, traditionally, with the basics, and the fictional hockey player Ivan will help me with this.
Опубликовано на medium →
28.08.2023
Обложка статьи: Different Implementations Of The Flood Fill Algorithm
Different Implementations Of The Flood Fill Algorithm
Algorithms are the fundamental building blocks in programming and have a pivotal role in today’s technology-driven world. They comprise instructions designed to perform tasks efficiently, such as sorting data, searching databases, and making predictions. By automating these tasks, algorithms save time and reduce errors, enabling informed decisions. They form the foundation of many technologies we rely on daily, from social media to e-commerce, and significantly influence industries from finance to healthcare. For instance, almost every graphics editor equips users with valuable and convenient tools. One notable tool is the function that allows filling an area with a specified color. Its operation is straightforward: you select the desired fill color and click on the intended area of the image. Consequently, the selected region changes to the chosen color. This function is driven by a specific algorithm known as the Flood Fill.
Опубликовано на medium →
24.04.2023
Обложка статьи: BASE64 Encoding
BASE64 Encoding
In daily work, software developers are often faced with the task of transferring data. In most cases it is not just a question of data transfer, but also of encoding. And this is actually a very interesting topic. Today, I’m gonna talk a bit about the remarkable yet often overlooked Base64 encoding — a versatile and essential component in programming. In this article, we’ll have a look at the mechanics and real-world applications of Base64 encoding, giving you a comprehensive understanding of its role in data transferring.
Опубликовано на medium →
17.04.2023
Обложка статьи: Django LTS 4.2 Release: To Update Or Not
Django LTS 4.2 Release: To Update Or Not
A new LTS version of the Django Web Framework, one of the most popular Python-based web development frameworks, was released in April 2023. “A new version is out! Why haven’t you upgraded to it yet?” — this is a question that frequently comes up among individuals studying this framework in programming courses. A similar inquiry can be encountered by a novice who has recently embarked on their journey as a back-end developer.
Опубликовано на medium →
13.04.2023
Обложка статьи: The First Look At Regular Expressions
The First Look At Regular Expressions
In the realm of text processing and pattern matching, Regular Expressions (RegEx) are one of the most powerful, versatile, and ubiquitous tools at your disposal. As a cornerstone of programming and scripting languages, RegEx are essential for software developers, data analysts, and system administrators alike. This article aims to provide a concise and comprehensive introduction to the world of Regular Expressions, guiding you through the basics and real-world use of this indispensable text manipulation method. Hailing from the early days of computing, RegEx have evolved over the years, becoming an integral part of modern programming languages such as Python, JavaScript, Java, and PHP, as well as text editors, search engines, and data processing tools. In this article, we will examine the syntax and structure of Regular Expressions, and demonstrate their capabilities through practical examples. Whether you are a novice programmer or an experienced developer looking to refine your text-processing skills, this introduction to Regular Expressions will serve as a valuable resource for mastering this powerful and versatile tool.
Опубликовано на medium →