Fixed the input and output utilities#808
Conversation
|
Any reason why |
|
@Qix- @rauchg said it's very important that a function only does as less as possible (like composing a string) - he criticized that on Now Desktop as well, so I converted it into log statements that are logging a string that was composed by a function. The statements you in the code here were written by him before, so I just extended that. BTW: I did it just like you described in all of my code before he told me to do it otherwise. |
|
I just worry that someone is going to mistake |
Qix-
left a comment
There was a problem hiding this comment.
LGTM, glad to see this fixed. :)
|
@matheuss but in that case, I agree with the sentiment, but I don't necessarily like the non-DRY-ness of it all - especially since, as I mentioned before, it'd be easy for someone to forget a logging statement and accidentally hide an error message because they didn't know to output to the console. We see this kind of problem frequently over at Chalk (where people don't realize they need to I just worry. |
After this PR, the input fields will work properly again and no errors will be swallowed.