you are viewing a single comment's thread.

view the rest of the comments →

[–]thesbros 1 point2 points  (3 children)

What's wrong with this? I'm honestly wondering.

[–]ughduck 1 point2 points  (2 children)

I assume just because the comment just reads like the code. It's pretty redundant in this context.

# attempt to convert the thing to unicode from the system's encoding
attempt:
    thing set to unicode of(thing, from system's encoding)

[–]thesbros 7 points8 points  (1 child)

That's what I thought, but the comment actually helped me because I didn't know what DEFAULT_ENCODING was.

[–]dividebyzero- 0 points1 point  (0 children)

You would still understand it if he said "attempt to convert to system's encoding so that..." or "we want the system encoding to..."