Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
12æãªã®ã§ï¼ä»æ¥ããï¼ããã°ããã³ãå§ãããã¨ã«ãã¾ããï¼ CoffeeScriptã«ã¤ã㦠æè¿ã¡ãã£ã¨CoffeeScriptãæ¸ããããã¦ãã¦ï¼ãã¼ã å ã«ã·ã§ã¢ããã¨ããï¼ãã¼ãã¿ãããªæãã§ï¼ããã¾ã使ã£ãããªã人ããããã ã£ãã®ã§ï¼ã¾ã¨ãã¦ããããã¨æãã¾ãï¼ çµç·¯ åã¯CoffeeScript2011å¹´ããããã使ã£ã¦ã¦ï¼éã³ã§æ¸ãã®ã¯å ¨é¨CoffeeScriptã§æ¸ãã¦ãï¼ ä»äºã§ã¯ï¼ã¢ããªã±ã¼ã·ã§ã³æ¬ä½ãããªãã¦ï¼æ¥åä¸ä½¿ã便å©ãã¼ã«ãªã©ã¯ï¼CoffeeScriptã§æ¸ãã¦ãï¼ CoffeeScriptå°å ¥ã®ã¡ãªããã«ã¤ãã¦ï¼ äºç´°ãªãã¹ãæ¸ã CoffeeScriptã§ã¯ï¼JSã®æ§æä¸ã®å¾®å¦ã«æ°ãã¤ããã¹ãã¨ãããã ããã解æ¶ããã¦ããï¼ ãã¨ãã°ï¼Objectãé©å½ã«æ¸ãã¦ããã¨ï¼ã³ã³ãã¤ã«å¾ã«ã¯æå¾ã®ã«ã³ãã ãèªåçã«é¤ãããã®ã§ï¼æ¸ãã¨ãã«ï¼ããã«ã«ã³ããããã¨I
ä¹ ãã¶ãã«coffeescriptãæ¸ããã¨æããã¡ã ã©ããã ãvim-coffee-scriptãææ°ã«ãã¾ããã ãããããã以åããããªãæ©è½ãå¼·åããã¦ããã®ã§ã¡ã¢ãã¦ããã¾ãã Recompile on write è¦ããã«ä¿åãããã³ã³ãã¤ã«ãã¦ãã¨ããè¨å®ã au BufWritePost *.coffee silent CoffeeMake! -cb | cwindow | redraw! ããã§ã.coffeeãªãã¡ã¤ã«ãä¿åããã¨ã.coffeeã¨åããã£ã¬ã¯ããªã«.jsãªãã¡ã¤ã«ãçæããã¾ãã ãã¨ãâbareãæå¹ã«ãã¦ãã¹ã³ã¼ããéå®ããªãããã«ãã¦ã¾ãã Watch (live preview) mode è¦ããã«coffee-scriptãæ¸ããªããçæãããjavascriptãè¦ãªããä½æ¥ã§ããè¨å®ã ããã¯ä¾¿å©ã ããç¿å¾ãæ©ããªãã¾ããã é »åº¦ãé«ã
TypeScriptè¯ãã§ãããä¸éã®æµãã¯å®å ¨ã«åçåä»ãè¨èªããéçåä»ãè¨èªï¼åæ¨è«ã«ç§»ã£ã¦ãã¦ãã¾ãããJavaScriptã®ä¸ã«ãã¾ããããå°å ¥ãã¦ããæãã§ãããã«ã¹ãã¼ã°ã¯ãã£ã±ããããããã¨ã ä»å¾å®è£ ãããäºå®ã®ã¸ã§ããªã¯ã¹ãè¼ã£ã¦ããããbetter JavaScriptã¨ãã¦ã¯æå¼·è¨èªã®ä¸è§ã«ãªããããªé°å²æ°ã§ããã CoffeeScriptã¨TypeScriptã«ã¤ã㦠è¨èªä»æ§ã¨ãã¦ã¯æ£ç´å¥ç©ã¬ãã«ã®åå¨ãªã®ã ãã©ããã¼ã«ã¨ãã¦ã®æ§è³ªï¼ã³ã³ãã¤ã©ãJSã¨ãã¦åä½ãããªã©ï¼ã大ããä¼¼ã¦ãããããWebä¸ã§ã¯ãã対æ¯ããã¦ãããã§ãã TypeScriptãä¸ã«åºã¦ãã¦ãã¾ã£ã以ä¸ãCoffeeScriptã¯ãåä»ãã®ã§ããªãTypeScriptã®åºæ¥æãªããã¿ãããªåå¨ã«ãªã£ã¦ãã¾ã£ãããªãã¨ãTypeScriptã®åºç¾ä»¥åãããCoffeeScriptã«ã¯æ¡ç¨ãã
https://github.com/hornairs/muffin muffin.js ãã¡ãã£ã¨ä½¿ã£ã¦ã¿ã¾ããã(v0.2.6) muffin.js ã¯ã ï¼Node.js ã§åããï¼ Coffeescript ãæ¸ãã¦ãã¦ã Cakefile ãæ¸ãã¦ãã¦ã Cakefile 㧠child_process ãããã¤ãä½ããªãããããªã人 ã幸ãã«ãªããã©ã¤ãã©ãªã ã¨ãããã¾ãã Cakefile ï¼ Cakefile ã¯ãCoffeescript ã§æ¸ã Makefile ã§ããããã¸ã§ã¯ããã¨ã«ï¼åãè¤æ°ã®task ãå®ç¾©ã§ãããJava ã§ãã Ant ã® build.xml ã ã¨ãããã¾ããCoffeescript ãå ¥ããã¨ä½¿ããããã«ãªãã¾ãã task åã¯èªç±ã§ããã $ cake build ã¨ãããã¨ãããã¸ã§ã¯ãå ã§build æã«ãã£ã¦æ¬²ããäºããããã¾ããã
æè¿CoffeeScriptã¨ãããã®ãç¥ã£ã¦å°ã調ã¹ã¦ã¿ãããæ¬å®¶ã®è¨èªãªãã¡ã¬ã³ã¹ããããªã«å¤ããªãã£ãã®ã§æ¥æ¬èªè¨³ã«ææ¦ãã¦ã¿ã¾ããã http://coffeescript.org/ CoffeeScriptã¨ã¯JavaScriptã«ã³ã³ãã¤ã«å¯è½ãªã·ã³ãã«ãªè¨èªã§ããã¯ã©ã¹ãã¼ã¹ã®ãªãã¸ã§ã¯ãæåãPython/Rubyãåèã«ããå å 表è¨ãæååå å¤æ°å±éãã¹ã¿ãã£ãã¯ã¹ã³ã¼ããªã©ãªã©ãããã¾ãã å ã«ãã¿ãã©ã·ããã¦ããã¨æ¥æ¬èªè¨³ã¯æ¢ã«å¥ã®æ¹ããã¦ãã¾ããï¼¼(^o^)ï¼ http://sites.google.com/site/sappariwiki/coffeescript ãããåã®æ¥æ¬èªè¨³ããå ¨ç¶ããããããï¼ã¶ã£ã¡ããè±èªã¯å¤§ã®è¦æãªã®ã§ã翻訳ããã¯ãããã©ééã£ã¦ãã¨ããã¯è²ã ããã¯ãã§ãã ã§ãã¾ãæè¡çãªããã¥ã¡ã³ãã®ç¿»è¨³ã«ææ¦ããã®ã¯ãæ°å¹´åã«åè·ã§RDP(R
å人製ä½ã®ã·ã¹ãã ã®jsãcoffeeã«å®å ¨ç§»è¡ããã®ã§ãã®éæãæ¸ãã¾ããããã¾ã§ãå人çãªææ³ã§ããæãæ¹ã¯äººããããã§ãã ã¡ãªã¿ã«åã¯åå¼·ãå ¼ãã¦æã§ç§»è¡ããã¾ããããjs2coffeeã¨ãããã¼ã«ã使ãã¨èªåã§å¤æãã¦ããããããã§ãã #å ã«çµè« coffeeã®æ¹ãããã¨æãã ããããæ¹å¤ã«ãjsæ¸ãã°ããããããã¨ããã®ããããã©ã極端ãªè©±ããã¢ã»ã³ãã©æ¸ãã°ããããããã¨é«ç´è¨èªãåºã¦ããé ã«è¨ã£ã¦ã人ã¨ä¸»å¼µã®æ¹åæ§ã¯ä¼¼ã¦ãã¨æãã極端ããããã©ã jsã«ã¯è½ã¨ãç©´ããã£ã±ããããæ £ãã¦ããã¾ã«ã¯ã¾ããvarãå¿ããããé¢æ°ã®é ã§å ¨é¨ã®varãåæãããã¨ãããã©ã¯ãã£ã¹ã«å¾ã£ã¦ãããåé·ã«ãªã£ã¦ç®¡çããã³ã¹ãé«ããªã£ããã coffeeã使ãã¨ããããä½è¨ãªåé¡ãæèããªãã¦ãããªãã®ã¯ã¨ã¦ã大ããã ãããjsã§ã§ãããã¨ã®å ¨ã¦ãcoffeeã§ã§ããã工夫ãå¿ è¦ã«ãªã
æè¿CoffeeScriptçéã®ããã´ã¹ãã£ã¢(æ»èª)ãè³ããã¦ãããCoffeeScriptã使ãã¹ããã使ãããã¹ããï¼ãã¨ãã話é¡ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ãã 以ä¸ã®è¨äºç´¹ä»ã¯è¶ 訳ãã¤è¦ç´ãªã®ã§è©³ããç¥ããã人ã¯å è¨äºãåç §ã®ãã¨ã ãã¨ã®çºç«¯ã¯ãã®è¨äºã SnackJSã®ä½è ãCoffeeScriptããã£ã¹ãã A Case Against Using CoffeeScript by Ryan Florence ãããã°ã®åé¡ CoffeeScriptãçæããJavaScriptã¯ãã¡ãã¨ãã¦ãããã©ãçµå±ã¯èªåãæ¸ããã³ã¼ããããªãããèªã¿ã«ãããèªåã§ç´æ¥æ¸ããã»ããè¦ãããã ããã«CoffeeScriptããããã°ããã¯ã¼ã¯ããã¼ã¯å¤§å¤ã ã ã¾ãåé¡ãJavaScriptå ã®ã©ãã§çºçããã®ããçªãæ¢ãã(CoffeeScriptã®ã³ã¼ãã¨è¡åä½ã§å¯¾å¿ãã¦ãªããã大å¤ã )
ä»äºã§ã¬ãªã£ã¨javascriptãæ¸ãæ©ä¼ã«æµã¾ãããããä»ã¾ã§èå³ã¯ãã£ããã©æãåºãã¦ããªãã£ãcoffeescriptã«ãã£ã¬ã³ã¸ãã¦ã¿ããã¨ã«ãã¾ããã coffeescriptã£ã¦ä½ãï¼ã£ã¦äººã¯ãããªã«ããªãã¨æãã¾ããä¸å¿ç°¡åã«èª¬æãã¦ããã¨ããJavaSciprtã«ã³ã³ãã¤ã«å¯è½ãªè¨èªã§ãRubyãPythonãªã©ã«è¿ãè¨è¿°ãå¯è½ãJavaScriptã®éçºãããå¹ççã«ã§ããããã«ãªããã¹ã¯ãªããã§ãã å ¬å¼ãµã¤ãã¯ãã¡ãã ããããªã¨ããã§è§£èª¬ããã¦ãã¾ãããä¸æãªèª¬æãèªãããå ¬å¼ãµã¤ãã®ããããã¼ã¸ã«å¤æä¾ãè¼ã£ã¦ãã¾ãã®ã§ãjavascriptã®çµé¨ã®ããæ¹ã¯ãããè¦ãã°æè¦çã«ã©ããªãã®ãç解ã§ããã¨æãã¾ãã ãã¦ãcoffeescriptã§éçºãå§ããã«ããã£ã¦ãvimã使ã£ã¦ãããªãæ¯éå ¥ãã¦ãããã»ãã便å©ãªãã©ã°ã¤ã³ãããã¾ãã vim-coffees
ç«ãæåãCoffeeScriptã®ä¸ã®ä¸ãCoffeeScriptã«æãåºãã¦ãã¾ã£ããããã«(JavaScriptã®ä¸ã«)帰ãã¬äººã¨ãªãã¤ã¤ãã人ã¯ããããããã¨æãã åãæè¿CoffeeScriptã«æãæãäºåã§å¸°ãéãè¦å¤±ã£ã¦ãã¾ã£ãã CoffeeScriptã®ç·¨éã«ã¯ujihisaæ°ã®shadow.vimã便å©ã ã shadow.vimãæçã«ç´¹ä»ããã¨ãmain.js ãéãã¦ç·¨éãã¦ããã¨æã£ããå®ã¯main.js.shd(ä¸èº«ã¯CoffeeScript)ãç·¨éãã¦ãã¦ãæ°ã¥ããæã«ã¯ãã§ã«main.js.shdã®ã³ã³ãã¤ã«çµæãmain.jsã«ä¿åããã¦ãããã¨ããvim-pluginã§ããã ãã¦ãJavaScriptãæ¬æ ¼çã«ä½¿ãã«ã¯ãã¢ã¸ã¥ã¼ã«ã·ã¹ãã ãé¿ãã¦éãäºã¯ã§ããªãã ã°ãã¼ãã«å¤æ°ãå¤ç¨ãããã¨ã許ããã¦ããJavaScriptã§ã¯ãã©ã¤ãã©ãªã«ãã
It has been two weeks since my last Blog, not a way to keep your readers happy, if you have any (left). Well, I rather hope that my readers are more to the right than the left. But then, I welcome them all. There are many people who enter the Blogosphere who seem more intent on taunting the Bloggers than to learn and to comment. Foul, ugly-minded, and even beastly, but then, we can always delete t
JS2Coffee The JavaScript to CoffeeScript compiler. Source $ npm install js2coffee $ js2coffee input.js > output.js
CoffeeTable, v0.1.0 A drop-in workbench for experimentation, CoffeeTable provides a CoffeeScript-fluent console on a page, with persistent history and auto-suggest. GitHub repo » Annotated source Requires jQuery » coffee_script.js » (loaded automatically if not already present) To use Load coffeetable-min.js into the page: <script type="application/javascript" src="http://code.alecperkins.net/coff
ã¡ã£ã¡ããCoffeeScriptã®æ¬
ã£ã¦ãæ¥æ¬ã®ã®ã¼ã¯ãªããããããã ãããªã¼ ã¿ãªãã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
ä¹ ãã¶ãã« Cocoa ã¢ããªãæ¸ãã¾ããããã®ã¨ãã CoffeeScript 㨠Python ãããã¨ããæ¸ãã¦ããã§ããããã¨ããã¾ããããªã«ããããéã§ããªãããã©ãCoffeeScript ããããã·ã³ãã«ãããããã©ããã¡ãã¡ã³ã³ãã¤ã«ãããããã©ãããã®ããã¡ããã³ã³ãã¤ã©ã«ã¯ãã©ã«ãç£è¦ãã¦å¤æ´ãã£ããã³ã³ãã¤ã«ã£ã¦ãã watch ãªãã·ã§ã³ (-w) ããã®ã ãã©ãã³ãã³ãã©ã¤ã³ã§ããããããããã¨ã©ã¼ãã¨ãã£ã¿ã®è£ã§åºã¦ã¦ãã¥ãããã¨ããã¾ããå¾®å¦ãªã®ã§ãGUI ã§ã¨ã©ã¼ã Growl ã§ã£ã¦ããã®ãä½ã£ã次第ãã¨ãããã使ããã¬ãã«ã¾ã§ä½ã£ãã®ã§ã½ã¼ã¹ã Github ã¸ãã³ã³ãã¤ã«ããã js ãããã« Closure Compiler ã§ã³ã³ãã¤ã«ã¼ãã¨ããStylus ã«ã対å¿ãããããã¡ã ã¼ãããã¡ãã£ã¨æ°ã®å©ããååã¨ç´ æµãªã¢ã¤ã³ã³ã欲ããã ãã¡ããã³
10 CoffeeScript One Liners to Impress Your Friends You may have read â10 Scala One Liners to Impress Your Friendsâ at Marcus Kazmierczakâs blog recently featured on HN. Although I donât know Scala (or Java), it all looks quite nice, so I decided to impress my friends too - folks go from Java to Scala, we go from Javascript to CoffeeScript. Assume node.js as the environment for all examples. Multip
ãã®è¨äºã対å¿ããCoffeeScriptã®ãã¼ã¸ã§ã³ã¯1.7ã§ãã åºæ¬çã«ã¯æ¬å®¶ãµã¤ãCoffeeScriptã®å 容ã¨åãã§ããããããããããã«è²ã ã¨ç§ãåæã«åæ§ç¯ã追å ãã¦ã¯ããã¾ãããï¼æ¥æ¬èªè¨³ã¨ç´¹ä»ãããã¨ã¡ãã£ã¨å¿å¤ã§ããª(´Ðâã½ ï¼ ãªããJavaScriptã®åºç¤ç¥èãåæã¨ããJavaScriptããå¼ãç¶ãéè¤ããå 容ã¯è§£èª¬ããã¾ããã ããå¾ããã®è¨äºã®æç« ãCoffeeScriptã³ã¼ããJavaScriptã³ã¼ãã«é¢ããèä½æ¨©ã¯æ¾æ£ãã¦ãã¾ãããããªãã¯ãã¡ã¤ã³ã¨è¨ãããã§ããæç« ãã³ã¼ãèªç±ã«å¼ç¨æ¹å¤å ¬éãã¦ãåé¡ããã¾ããã æçµæ´æ°æ¥ï¼2014/1/29 追å : æåå æ¼ç®åãªã© ã¯ããã«ï¼CoffeeScriptã®ã¡ãªããã¨ãã¡ãªãã ä¸è¬ã«è¨ããã¦ããCoffeeScriptã使ãã¡ãªãããã¡ãªãããè¼ãã¦ããã¾ãã ã¾ããããªè«äºæ°ã«ããã使ã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}