2009å¹´06æ20æ¥20:00 ã«ãã´ãªLightweight Languages (ruby|javascript)ã§str.join(array)ãpythonã§list.join(str) å¼ãç¶ãå¾è¡é転ä¸ã ','.join() ããªããã¢ã¤ã®ã - methaneã®æ¥è¨ Rubyå¨ã¨Pythonå¨ãå¹³è¡ç·ã®è°è«ããã¦ããã®ã§ãã¾ã¨ãã¦ã¿ãã ãã§ããã©ã£ã¡ãã¡ã½ããæ¸ããã®ã ãããå«ãªãå®ç¾©ãã¡ããã°ããããããªããã¨æã£ã¦ãã£ã¦ã¿ãã¨ããããããããããã¾ãã«é対称ã ã£ãã®ã§ã ã¾ãã¯Rubyã¨JavaScriptãPythonisqueã«ãã¦ã¿ãã str.join(array) on Ruby #!/usr/bin/ruby $KCODE = 'UTF-8' class String def join(ary) ary.join(self) end end p [1,
{{#tags}}- {{label}}
{{/tags}}