Skip to content

Commit 23bb419

Browse files
committed
Remove TODO
1 parent 2d4cdd1 commit 23bb419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/output-and-error-handling/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The main reason we have these two different locations is that often times we wan
6363

6464
For example, imagine your program writes out a series of scores, one per line, and you were going to write those scores to a file which another program may analyse. If the output file had "Waiting for HTTP request..." or "Server error" printed in it, that would be annoying to process later on, but as a user, you my want to know why your program appears to be hanging or failing.
6565

66-
Another example is when something goes wrong - in your score-recording program, you may want to (reasonably) assume that anything it outputs is a number. But if something goes wrong (say, your network connection was down so the scores couldn't be fetched), reporting that on standard error means you won't accidentally try to add the error string "Network was down" to some other number. (TODO: This explanation doesn't seem very clear).
66+
Another example is when something goes wrong - in your score-recording program, you may want to (reasonably) assume that anything it outputs is a number. But if something goes wrong (say, your network connection was down so the scores couldn't be fetched), reporting that on standard error means you won't accidentally try to add the error string "Network was down" to some other number.
6767

6868
#### Standard out and standard error in Go
6969

0 commit comments

Comments
 (0)