Tag: Programming
-
What is CPU cache and how does it impact performance?
Posted on June 11, 2023, Level intermediate Resource Length medium
Imagine your computer's CPU as the engine of a powerful sports car, tirelessly driving it towards your destination. The CPU cache, in this case, acts like the high-octane fuel needed to keep the engine revved up, ensuring smooth and efficient operation. By Faraz Khan.
Tags servers app-development programming how-to
-
CQRS facts and myths explained
Posted on May 30, 2023, Level intermediate Resource Length long
Older but still relevant article dealing with question of technical patterns and how they are filled with myths and mishaps. Quite often, this happens to CQS and CQRS. By Oskar Dudycz.
Tags event-driven oop app-development messaging programming software-architecture
-
Encapsulation in Java (with example)
Posted on May 22, 2023, Level beginner Resource Length medium
Encapsulation is a fundamental concept in object-oriented programming (OOP) that allows developers to achieve data abstraction, improve code maintainability, and create more robust software. In this article, we will dive deep into the principles of encapsulation in Java, understand its benefits, and explore the best practices to implement it effectively. By Rahul.
Tags java oop programming learning
-
Python classes: The power of object-oriented programming
Posted on April 30, 2023, Level intermediate Resource Length long
Python supports the object-oriented programming paradigm through classes. They provide an elegant way to define reusable pieces of code that encapsulate data and behavior in a single entity. With classes, you can quickly and intuitively model real-world objects and solve complex problems. By Leodanis Pozo Ramos.
Tags oop programming python learning
-
Clean code
Posted on April 22, 2023, Level intermediate Resource Length medium
Clean code can be read and enhanced by a developer other than its original author. By Moises Gamio.
Tags code-refactoring app-development programming performance
-
How to use autoloading in PHP
Posted on March 29, 2023, Level intermediate Resource Length medium
Autoloading is an essential feature of any modern PHP application. It allows you to load classes and dependencies automatically, making it easier to manage your code and reducing the need for manual class loading. In this tutorial, we will explore the basics of autoloading in PHP, its benefits, and how to set it up in your project. Byvegibit.com.
Tags php apis app-development web-development programming
-
Embracing the power of functional programming: A comprehensive guide
Posted on March 16, 2023, Level beginner Resource Length medium
Functional programming has steadily gained traction in the software development world, thanks to its ability to create more maintainable, efficient, and robust code. By Arthur Frank.
Tags functional-programming programming performance software
-
Pandas 2.0 and its ecosystem (Arrow, Polars, DuckDB)
Posted on March 15, 2023, Level intermediate Resource Length medium
Data manipulation and analysis can be challenging and involve working with large datasets. Thankfully, a widely used Python library known as Pandas has become the go-to tool for processing and manipulating data. Pandas recently got an update, which is version 2.0. This article takes a closer look at what Pandas is, its success, and what the new version brings, including its ecosystem around Arrow, Polars, and DuckDB. By Simon Späti.
Tags big-data data-science python programming
-
Why and how to replace end-to-end tests with synthetic monitors
Posted on March 9, 2023, Level beginner Resource Length medium
An older article about potential alternative to classic end-to-end tests: synthetic monitors. A thousand tests can't prove your software works. They can only prove it doesn't. When your code reaches production, even the most thorough end-to-end tests can't prevent your users from seeing that "500 - Unexpected Server Error" screen that keeps you awake at night. By Lucas da Costa.
Tags programming cloud tdd miscellaneous performance agile
-
How to handle errors in React: full guide
Posted on February 28, 2023, Level intermediate Resource Length medium
We all want our apps to be stable, to work perfectly, and cater to every edge case imaginable, isn't it? But the sad reality is we are all humans (at least that is my assumption), we all make mistakes, and there is no such thing as a bug-free code. By Nadia Makarevich.
Tags programming frontend web-development react javascript
-
Various debugging methods in OpenResty
Posted on February 27, 2023, Level intermediate Resource Length short
In OpenResty's communication group, developers often ask this question: How do debug in OpenResty? As far as I know, there are some tools in OpenResty that support breakpoint debugging, including a plugin in VSCode, but they are not widely used so far. Including the author agentzh and a few contributors I know, everyone uses the simplest ngx.log and ngx.say to do debugging. By @api7.ai.
Tags programming performance devops distributed apis
-
.NET programmer's guide to CancellationToken
Posted on February 23, 2023, Level intermediate Resource Length long
Microsoft created a standardized cancellation implementation that has far-reaching capabilities beyond its original use case. Sometimes canceling is a good thing. In many of my .NET projects, I have had plenty of motivation to cancel both internal and external processes. Microsoft learned that developers were approaching this common use case in a variety of complex implementations and decided there must be a better way. By Davit Asryan.
Tags web-development programming how-to apis app-development