Python Dataclasses and Classes: When to Use Each
Dataclasses remove boilerplate for plain data, and regular classes protect state and behavior. Learn frozen, slots, field(), and…
Category
Backend development is the server-side work behind an application: APIs, business logic, databases, queues and background jobs. Backend engineers pick languages such as Java, Python, Node.js or C#, decide how data is stored and how services talk to each other, and keep it all fast and correct under load. Most of the hard calls are trade-offs, such as SQL against NoSQL or a monolith against microservices.
177 articles
Dataclasses remove boilerplate for plain data, and regular classes protect state and behavior. Learn frozen, slots, field(), and…
Executive Summary: Part 1 of the library system project designs a Java domain model across model and event…
Learn how to deploy a high-availability WordPress website on Azure, ensuring robust performance, scalability and security for your…
List comprehensions build collections in one readable line, and generators produce items on demand. Learn the syntax, the…
Executive Summary: Sealed classes and interfaces in Java list their permitted subtypes, so the compiler knows every variant.…
How Python functions really work: argument styles, default values, scope and closures, and return values, with the pitfalls…
Lists, tuples, sets, and dictionaries each answer a different question about your data. Learn what each costs, when…
Executive Summary: A Java record declares an immutable data carrier in one line, and the compiler generates the…
A virtual environment gives each project its own packages. Learn to create one with venv, install with pip,…
Executive Summary: Java enums define a fixed set of singleton constants that can carry fields, constructors, and per-constant…
In this previous post we managed to fetch the endpoint and store the response in a JSON file…
Python runs web APIs, data pipelines, automation scripts, and machine learning systems. Here is where it fits, where…
Executive Summary: Use an abstract class when related classes share state or a fixed workflow, and an interface…
Executive Summary: Every Java class inherits equals, hashCode, toString, and clone from Object, and the defaults use identity.…