article thumbnail

Simple Code: Immutability

DZone

In the world of object-oriented programming, it's not as used and as easy to use approach but there are ways to incorporate immutability to parts of the code and I strongly suggest you do so too. If you're familiar with functional programming you surely recognize the concept of immutability because it's a key ingredient of the paradigm.

Code 264
article thumbnail

SRP Is the MEDUSA of Clean Code Family

DZone

While we are hearing tips on Clean code, the most common tip is maintaining SRP while writing class or methods, in a broader scope Module/Package/Service/API. Most of the time it succumbs us and we are ending up with anti-KISS code but If we use it in the right proportion, then we can create a cohesive and robust architecture.

Code 225
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

article thumbnail

Practical API Design at Netflix, Part 1: Using Protobuf FieldMask

The Netflix TechBlog

How can we achieve a similar functionality when designing our gRPC APIs? Add FieldMask to the Request Message Instead of creating one-off “include” fields, API designers can add field_mask field to the request message: [link] Consumers can set paths for the fields they expect to receive in the response.

Design 246
article thumbnail

Hawkins: Diving into the Reasoning Behind our Design System

The Netflix TechBlog

Stranger Things imagery showcasing the inspiration for the Hawkins Design System by Hawkins team member Joshua Godi ; with art contributions by Wiki Chaves Hawkins may be the name of a fictional town in Indiana, most widely known as the backdrop for one of Netflix’s most popular TV series “Stranger Things,” but the name is so much more.

Design 237
article thumbnail

What is infrastructure as code? Discover the basics, benefits, and best practices

Dynatrace

The IT world is rife with jargon — and “as code” is no exception. “As code” means simplifying complex and time-consuming tasks by automating some, or all, of their processes. Today, the composable nature of code enables skilled IT teams to create and customize automated solutions capable of improving efficiency.

article thumbnail

Find vulnerabilities in your code—don’t wait for someone to exploit them

Dynatrace

All-new Dynatrace code-level vulnerability detection All-new Dynatrace code-level vulnerability detection evaluates all requests passing through your applications to identify vulnerabilities. The deep insights into application code provided by OneAgent® help track potentially vulnerable data flow within an application.

Code 213
article thumbnail

Dynatrace to acquire Rookout to deliver code debugging in production environments

Dynatrace

Developers are increasingly responsible for ensuring the quality and security of code throughout the software lifecycle. Developer-first observability Adding Rookout to the Dynatrace platform will provide developers with increased code-level observability of Kubernetes-hosted production environments.

Code 220