Skip to content (Press Enter)
Subscribe
  • About
  • Training
    • For Companies
    • For Individuals
  • Videos
  • Clients
  • Contact
Subscribe

Victor Rentea

Technical Training, with Personality

  • About
  • Training
    • For Companies
    • For Individuals
  • Videos
  • Clients
  • Contact
Home>Practical Tips

Practical Tips

Updated on February 10, 2022February 9, 2022

Design Insights from Unit Testing

Design Insights from Unit Testing

tl;dr When tests are hard to write, it’s because they are trying to tell you how the production design can be improved. Probably the biggest breakthrough during my Unit Testing workshop is to realize that …

Read More
Updated on February 9, 2022February 3, 2022

Control your Data Structures

Control your Data Structures

Complex logic should be implemented on data structures you have full control on: an internal Domain Model that you can tailor to your problem to simplify your code. Key Terms Here is an (opinionated) list …

Read More
Updated on February 9, 2022February 2, 2022

Live Streaming Setup

Live Streaming Setup

This article reviews my hardware and software setup for live-streaming and summarizes the tricks I use to increase the engagement of my audience during my online webinars and conference talks. Hardware Yeti Nano microphone – …

Read More
Updated on October 11, 2021October 11, 2021

Exploratory Refactoring

Exploratory Refactoring

This article describes a technique that I believe is missing from our practice, especially from teams working on complex (legacy) systems. The Problem I can’t refactor this code because I don’t know what happens in …

Read More
Updated on October 11, 2021October 11, 2021

Pragmatic Dependency Injection

Pragmatic Dependency Injection

Any non-trivial codebase out there benefits from Dependency Injection, for two main reasons: to be able to pass in a proxy or a decorated version of the target dependency, or a mock for unit testing …

Read More
Updated on February 8, 2021February 8, 2021

Resurrection of the Coding Guidelines Document

Resurrection of the Coding Guidelines Document

I recently got a lot of ideas from the comments I got to a recent post on LinkedIN. The purpose of Code Review is learning, not blaming. But I won’t discuss code review nor pair …

Read More
January 28, 2021January 28, 2021

The Clean Switch Rules

The Clean Switch Rules

From all the syntax constructs of modern programming languages, the switch construct is the most prone to degenerate into an unmaintainable mess unless we take aggressive actions. This article introduces the rules to follow to …

Read More
Updated on January 29, 2021January 17, 2021

Exception Handling Guide in Java

Exception Handling Guide in Java

This article presents a pragmatic, clean approach to working with exceptions in the Java applications we build today.

Read More
Updated on January 16, 2021January 12, 2021

The Best Code Review

The Best Code Review

This article tells the story of the best code review style I know of and discusses the key points you should focus on while reviewing code. By the nature of my activity, I get to …

Read More
Updated on February 2, 2022January 5, 2021

Presenting Exceptions to Users

Presenting Exceptions to Users

Many applications want to present the errors to their users in a nice human-readable form. This article covers some widely used best practices on this topic. Before we even start, let’s make it clear: NEVER …

Read More
Updated on December 31, 2020December 27, 2020

Exceptions and Streams

Exceptions and Streams

Java 8 gave us Optional, a mighty weapon against the most frequent Exception in Java: NullPointerException, that I talked about in this blog post. However, Java 8 also brought new headaches regarding exceptions, as the …

Read More
Updated on December 25, 2020December 23, 2020

Hide Checked Exceptions with SneakyThrows

Hide Checked Exceptions with SneakyThrows

Java is the only programming language in the world that has checked exceptions, which forces the caller to know about the individual exception types thrown by the called function. What do you do when you …

Read More
Updated on December 16, 2020December 14, 2020

Avoiding NullPointerException

Avoiding NullPointerException

The terrible NullPointerException (NPE in short) is the most frequent Java exception occurring in production, acording to a 2016 study. In this article we’ll explore the main techniques to fight it: the self-validating model and …

Read More
Updated on December 15, 2020December 14, 2020

Hello World, Hello Blog!

I’ve been postponing starting a blog for too long already. Let’s give it a try. I am planning to share some bits of what I discuss during the workshops that I do every week, at …

Read More

Recent Posts

  • Design Insights from Unit Testing
  • Control your Data Structures
  • Live Streaming Setup
  • Books about Technical Culture
  • Exploratory Refactoring

Categories

  • Attitude
  • Practical Tips

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Subscribe and Follow

Contact Me

  • Phone+4 0720019564
  • Email[email protected]
Copyright © 2022 Victor Rentea. Software Company | Developed By Rara Theme. Powered by WordPress.