What if dumping was more human readable? #4117
sergeniously
started this conversation in
Ideas
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, we have to make guess about what arguments of dump function mean. They are not obvious at first glance:
Don't you think that specifying a boolean argument as an option in a function is a bad practice?
Also, we have to provide all the arguments, if we only need to set an error handler.
I suggest a perfect solution to solve this problem.
What if there was a special class to configure a dump options?
For example:
This way we could individually set an error handler without specifying all other options.
And it's perfectly human readable.
Think about it.
Beta Was this translation helpful? Give feedback.
All reactions