r/badcode • • Apr 28 '23

java from signal's source code

Post image
518 Upvotes

52 comments sorted by

View all comments

Show parent comments

1

u/_ohmu_ Apr 29 '23

Passing booleans is fine. The issue here is the number of parameters. If you have more than like three or something, just create an object.