---
title: "Petre Popescu (@ppopescu) | Hashnode"
description: "Just another developer? Read the latest articles by Petre Popescu on Hashnode."
url: "https://hashnode.com/@ppopescu"
---

@ppopescu

# Petre Popescu

@ppopescu · Timisoara, Romania · Joined April 2021

Just another developer?

[Website](https://petrepopescu.tech/)

### [An argument for using Optional as input parameters](https://ppopescu.hashnode.dev/an-argument-for-using-optional-as-input-parameters?utm_source=hashnode&utm_medium=feed)

This article may be the hardest I wrote so far here. Not because it is really technical nor because it required a lot of research prior, but because it is controversial and I had to be sure that the arguments I will present here are good. Still, I kn...

4 min read · [ppopescu.hashnode.dev](https://ppopescu.hashnode.dev/an-argument-for-using-optional-as-input-parameters?utm_source=hashnode&utm_medium=feed)

[Dec 22, 2022](https://hashnode.com/posts/an-argument-for-using-optional-as-input-parameters/63a49a8e9207e020d953147f)

### [LogMasker - OpenSource masking library for Java](https://ppopescu.hashnode.dev/logmasker-opensource-masking-library-for-java?utm_source=hashnode&utm_medium=feed)

I am happy to share with you my first open-source project: LogMasker LogMasker is a log masking library that makes it easy to mask confidential information directly in the logs. This is done by intercepting the log event and masking it even before it...

3 min read · [ppopescu.hashnode.dev](https://ppopescu.hashnode.dev/logmasker-opensource-masking-library-for-java?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/logmasker-opensource-masking-library-for-java/6229ba7f6810179d5b05182b) [Mar 10, 2022](https://hashnode.com/posts/logmasker-opensource-masking-library-for-java/6229ba7f6810179d5b05182b)

### [You won't find your code if you don't organize it properly! Here is how I do it.](https://ppopescu.hashnode.dev/you-wont-find-your-code-if-you-dont-organize-it-properly-here-is-how-i-do-it?utm_source=hashnode&utm_medium=feed)

Article originally posted on my personal website at How to organize your web project It is easy to get carried away and just write code. The code may even work as intended but trust me that, in 6 months time, you won’t know anymore what it does and w...

4 min read · [ppopescu.hashnode.dev](https://ppopescu.hashnode.dev/you-wont-find-your-code-if-you-dont-organize-it-properly-here-is-how-i-do-it?utm_source=hashnode&utm_medium=feed)

[Aug 24, 2021](https://hashnode.com/posts/you-wont-find-your-code-if-you-dont-organize-it-properly-here-is-how-i-do-it/6124a085b115357df05f3308)

### [Exposing sequential IDs is bad! Here is how to avoid it.](https://ppopescu.hashnode.dev/exposing-sequential-ids-is-bad-here-is-how-to-avoid-it?utm_source=hashnode&utm_medium=feed)

Article originally posted on my personal blog: How not to expose your primary keys When working on LOGaritmical, I initially had my primary keys defined as UUIDs. I took this approach for two reasons: security and to avoid collisions even when there ...

4 min read · [ppopescu.hashnode.dev](https://ppopescu.hashnode.dev/exposing-sequential-ids-is-bad-here-is-how-to-avoid-it?utm_source=hashnode&utm_medium=feed)

[Aug 13, 2021](https://hashnode.com/posts/exposing-sequential-ids-is-bad-here-is-how-to-avoid-it/6116794813a99e48922eebf3)

### [Designing and Coding Event Management in Java](https://ppopescu.hashnode.dev/designing-and-coding-event-management-in-java?utm_source=hashnode&utm_medium=feed)

An improved version and source code on my personal website: How to code events in Java A few years ago, back when ActionScript 3 was still used, but barely, I wanted to try game development in Java. All major game engines use other programming langua...

6 min read · [ppopescu.hashnode.dev](https://ppopescu.hashnode.dev/designing-and-coding-event-management-in-java?utm_source=hashnode&utm_medium=feed)

[Jun 25, 2021](https://hashnode.com/posts/designing-and-coding-event-management-in-java/60d5d3c4de92ef110afdc3c6)
