Tag: Programming
-
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
-
Best practices for Java apps on Kubernetes
Posted on February 22, 2023, Level beginner Resource Length long
In today's fast-paced digital world, the speed of your website can make or break the user experience. With abundant information at our fingertips, users expect websites to load quickly and efficiently. As frontend developers, it's our responsibility to deliver a seamless experience for our users. By Gaurav Sharma.
Tags java programming app-development devops kubernetes
-
Introduction to class delegation in Kotlin
Posted on February 17, 2023, Level intermediate Resource Length medium
Technically, what you're going to see in this chapter is more precisely known in the broader programming community as "forwarding" rather than "delegation". However, in the Kotlin world, it's always referred to as delegation, so we'll continue to use that term here. By typealias.com.
Tags java programming app-development kotlin
-
Jsonnet is better than YAML for generating JSON
Posted on February 13, 2023, Level beginner Resource Length long
YAML is a well-known language for generating JSON files, but as we have been generating Docker Compose for integration tests, we've found Jsonnet to be better. Before we discuss both languages, keep in mind that this piece is strictly to discuss the use of each language when generating JSON. By Colin Mo.
Tags json app-development programming web-development