Apologies if this is in the wrong forum, I just thought it was
interesting…
After reading :
(“Is QWERTY harming language design?”), I thought maybe Japanese Kanji
are actually useful in programming - even in the West…they can be
used to reduce down method names for instance…
The only ‘drawback’ I found was you cannot declare classes this way,
without putting in a leading capital Roman letter…but for methods,
seems to work great !
class Aæ°´
def 飲
puts "You drank the water.Mizu o nomimashita..."
end
end
water=Aæ°´.new
water.飲
(To run on ruby 1.8.x, need to : ruby -Ku )
Just thought it might be a nice way (or an absolute nightmare for
code-maintenance, depending on how you see these things!) to reduce code
kinda of like using icons…I guess the glaring problem for
Westerners is actually getting the characters in there in the first
place [I used Babel fish… ]
Mmh…maybe Greek character ‘Lambda’ could be useful here as
well…better than mutating ‘->’…
Or North,South,East,West arrows for games I see people are writing …
On Fri, Aug 29, 2008 at 5:46 AM, John Pritchard-williams [email protected] wrote:
kinda of like using icons…I guess the glaring problem for
Westerners is actually getting the characters in there in the first
place [I used Babel fish… ]
I think the glaring problem for Westerners would be actually learning
the kanji themselves. I use GNU/Linux and have SCIM installed, so
writing stuff like 外国人ã®ã‚ーボードã¯æ¼¢å—を書ã事ãŒå‡ºæ¥ã¾ã™ is not at all difficult.
Windows has an equally simple input method as well.