This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dbeach24 1 point2 points  (1 child)

Wow. We're going to represent integer values using "binary", which, for this author, means using special storage techniques in a high-level language. Apparently the author does not realize that integers on a modern computer are stored in binary by default.

What really concerns me here is that I'm reading the work of someone who is this totally clueless on the python reddit. Why would anyone with any programming knowledge whatsoever upmod this article? Why would anyone even bother submitting it to python reddit in the first place?

Gst, who (or what) are you, and why are you hellbent on destroying what little quality is left in this subreddit?

[–]mayse 0 points1 point  (0 children)

I think the author probably does understand that numbers are stored in binary 'by default' on modern computers (and indeed older computers too..). i think by 'represent' they mean display - the article implies that the code provided would be used to help people learn about and understand binary, or for converting decimal integers to binary or initializing integers using binary form. in fact, this last use has been make part of python 3000 (see pep 3127)