J
John Pritchard-williams
Apologies if this is in the wrong forum, I just thought it was
interesting....
After reading :
http://www.oreillynet.com/ruby/blog/2008/05/is_qwerty_harming_language_des.html
("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 <program file>)
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 ...
interesting....
After reading :
http://www.oreillynet.com/ruby/blog/2008/05/is_qwerty_harming_language_des.html
("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 <program file>)
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 ...