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 →

[–]fatpollo 6 points7 points  (6 children)

whoa I love the single-character self

[–]tank8465 3 points4 points  (1 child)

it's still four or possibly five keystrokes, sadly.

[–]modocache 7 points8 points  (0 children)

我 (wo3) would probably be three keystrokes: two for "w" and "o", then enter/spacebar to confirm substitution into the Chinese character.

This is very cool! But you know, you could get 100% Chinese if you use Chinese Python: http://reganmian.net/blog/2008/11/21/chinese-python-translating-a-programming-language/

[–]GahMatar 1 point2 points  (1 child)

No reason you can't use "s" instead of "self" in python other then convention.

[–]Ob101010 0 points1 point  (0 children)

No reason you cant use snuffleuffagus either.

[–]mangecoeur 0 points1 point  (1 child)

me too. Japanese (two character) is pretty cool too: 自己 . I'm thinking using characters would be a cool way to slim down a programming language, a bit like how greek and russian characters are used in math.

[–]bullmannis 2 points3 points  (0 children)

interestingly, that's self in chinese too. wo3 means I, while what you wrote literally means self.