If I had to go with the ternary operator, I would choose not to negate the statement for the sake of readability.
If I had free will of choice I would prefer using the Optionals API, like @MagicShel@programming.dev did.
@feddit.de
If I had to go with the ternary operator, I would choose not to negate the statement for the sake of readability.
If I had free will of choice I would prefer using the Optionals API, like @MagicShel@programming.dev did.
We once had a project of 8 years old. You could find any pattern and anti-pattern in there, starting from java 1.5. I hope that none will say the same about my codebase in a few years. 😂
I try to follow clean code as much as possible and not overdoing the new features, but only there, where it makes sense.
I haven't been coding games since I graduated. But in the last two semesters we had a game jam and this was the result. The topic was survival. You play a obese man sitting on a vehicle trying to eat unhealthy food to survive. https://gamejolt.com/games/hungry-shopping/44460
thanks for using Leebra!
go to feed...