rummelonp.comNameKazuya Takeshima Blogrummelonp.hatenablog.com Mastodon@[email protected] Twitter@rummelonp GitHub@rummelonp
ã£ã¦ãæ¥æ¬ã®ã®ã¼ã¯ãªããããããã ãããªã¼ ã¿ãªããCoffeeScript使ã£ã¦ã¾ããï¼ã¡ãã£ã¨jsããã人ãªãããè¦ãããã¦ãææ³ãå¹³æã§ããã¤RubyãPythonã½ãæ¡å¼µããã¦ãã®ã§é常ã«ã¹ãã¬ã¹ãå°ãªãã§ã ããããå ã®JSã®ç¹æ§ãã»ã¨ãã©å¦¨ããªãããã«ãªã£ã¦ãã®ã§ãjsã§ã§ãã¦coffeeã§ã§ããªããã¨ã¯ã»ã¨ãã©ãªãã(ã¾ã£ãããªãããã¯ã¡ããã¨ç¢ºããã¦ã¾ããã⦠ãªãã¨æãã¾ã) é°å²æ°ãã¤ã³ãã³ããããã¯ã®Rubyè¨æ³ã®ãããªå°è±¡ã ã¨ããããã§å ãã¿ã¯ 10 CoffeeScript One Liners to Impress Your Friends | ricardo.cc ã§ã CoffeeScriptã¤ã³ã¹ãã¼ã«æ¸ãªãã$ coffee -iãããã㯠$ coffee ã§å¯¾è©±ã¤ã³ã¿ããªã¿èµ·åãã¾ã 1. ãªã¹ãã«å«ã¾ããã¢ã¤ãã ã2åã« coffeescript
â CoffeeScript CoffeeScript is a little language that compiles into JavaScript. Think of it as JavaScript's less ostentatious kid brother â the same genes, roughly the same height, but a different sense of style. Apart from a handful of bonus goodies, statements in CoffeeScript correspond one-to-one with their equivalent in JavaScript, it's just another way of saying it. Disclaimer: CoffeeScript i
ããã«ã¡ã¯ãæ¯å¹´è±ç²çã«ãªãããã¦ãã飯å¡ã§ãã æè¿ã®Node.jsã®æ®åãªã©ã«ãã£ã¦ãµã¼ããµã¤ãJavaScriptçéãçãä¸ãã£ã¦ãã¾ãã ãããªããããªJavaScriptãã©ã¯ã«ãã¤ã¨ã¬ã¬ã³ãã«æ¸ãããã®CoffeeScriptã¨ããè¨èªããã¥ã¼ããªã¢ã«é¢¨ã«ç´¹ä»ãã¾ãã ä½ãããã®ã©ã¤ãã©ãªãèªåã§æ¸ãç¨åº¦ã«JavaScriptã§éçºãã¦ãã人ã¯çµ¶å¯¾ã«ä½¿ã£ãã»ããããã¨æãã¾ãã JavaScriptãç¥ã£ã¦ããã°1-2æéç¨åº¦ã§ååé§ä½¿ã§ããããã«ãªãã¾ãã ï¼2011/6/28ï¼@m_satyræ§ã«ãææé ããç®æãä¿®æ£ãã¾ãããï¼ ç®æ¬¡ CoffeeScriptã¨ã¯ï¼ ã¤ã³ã¹ãã¼ã« Hello World æ§æ é¢æ° å¤æ°å±é Objectã®çæ ã«ã¼ã åå¨ãã§ã㯠ãã¢ããã¥ã¡ã³ã thisã®ãã¤ã³ã ã¯ã©ã¹ ç¡åé¢æ° {var} Tips ?ã®ä½¿ãåã åå¨ãã§ãã¯
Ruby on Railsã®çã¿ã®è¦ªãDHHãå¨ç±ãã37signalsãMac OS Xç¨ã®Rackãµã¼ããPowãããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¾ãããã¡ãã£ã¨ããã¾ã§ã«ãªã種é¡ã®ãããã¯ãã§ããã®ä½¿ãåæã®ã·ã³ãã«ãã¨ã¢ã¤ãã¢ã«é¼»è¡ãåºããã«ãªãã¾ãããå®è£ ã«Node.jsã¨CoffeeScriptã使ã£ã¦ããã¨ããã®ãé¢ç½ãã§ãã Powã®å£²ãã¯ããZero-configurationãï¼è¨å®è¦ããï¼ã¨ãããã¨ã§ãè¤æ°ã®Rails/Sinatraã¢ããªããã¼ã«ã«ã§åããã¦éçºãããããªã¨ãã«ãä»®æ³çãªãã¡ã¤ã³åãæ軽ã«å²ãå½ã¦ã¦ã¢ã¯ã»ã¹ã§ããããã«ãã¦ããããã¨ãããã®ã§ããã¤ã³ã¹ãã¼ã«ã¯curlã®ã³ãã³ãä¸çºã§ã $ curl get.pow.cx | sh ã¨ããã ããããã¦ãRailsãSinatraãªã©ã®Rackã¢ããªã®ãã£ã¬ã¯ããªãPowã®ãã£ã¬ã¯ããªã«ã·ã³ããªãã¯ãªã³ã¯ãè²¼ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}