CoffeeScriptã®é¢æ°ã¯æ示çã«returnããã¹ã | CreativeStyle æ¬å½ã«é ãã®ããããã確ããã¾ãããã é©å½ã«ã§ã£ã¡ãããã³ã¼ãã§ã f1 = -> for i in [1, 2, 3] for j in [4, 5, 6] i + j f2 = -> for i in [1, 2, 3] for j in [4, 5, 6] i + j return console.time "f1" for i in [1..100000] then f1() console.timeEnd "f1" console.time "f2" for i in [1..100000] then f2() console.timeEnd "f2" å®è¡ãã¦ã¿ã¾ã $ coffee hoge.coffee f1: 105ms f2: 4ms ç´26åéããã¨ãããã¨ããããã¾ãã
Installation You can install LiveScript through npm: sudo npm install -g livescript. Alternately, you can also download it (zip, tar.gz), enter its directory, and run sudo make install. Using git to download: git clone git://github.com/gkz/LiveScript.git && cd LiveScript && sudo make install. Node.js is required to be installed on your system. You can also use it directly in the browser by includi
2ã¶æãããåã«HackersNewsã§è¦ããã¦ã触ã£ã¦ã¿ããããããã£ãããã£ãã®ã§ç´¹ä»ã LiveScript http://gkz.github.com/LiveScript/ LiveScriptã¯CoffeeScriptãããã«æ¡å¼µããããJavaScriptã«ã³ã³ãã¤ã«ãããç³»è¨èªã JavaScriptãæåã«åä»ããããååãlivescriptãã«ç«ã¡è¿ã£ã¦ãé¢æ°åã®ç¹è²ãè²æ¿ãè¨èªã®ããã§ãã OOPã¨é¢æ°åã®ãã«ããã©ãã¤ã ã¨ããç¹ã§Scalaãªã©ã«è¿ãã®ããããã¾ãããåãå¼±ãScalaã§ãè¦ãç®ã¯Haskellã ã¤ã³ã¹ãã¼ã« npm install -g livescriptããé¢æ°åã£ã½ãããã人ã®ããã® prelude-lsã¨ä¸ç·ã«ä½¿ãã®ãæ¨å¥¨ããã¦ããããã§ã npm install prelude-ls追å ãããã¡ã½ããã«ã¤ãã¦ã¯ä»¥ä¸ãåç § prelud
ããæ°å¹´ãä¼ç¤¾ãè¾ãã¦èªåã®ãã¼ã¹ã§ä»äºãè«ãè² ãããªã¼ã©ã³ã¹ã¨ããå½¢æ ã§ä»äºããã人ãå¢ãã¦ãã¾ããããªã¼ã©ã³ã¹ã«ã¯æ§ã ãªè·æ¥ãããã代表çãªãã®ã§ã¯ç¿»è¨³æ¥ãã¤ã©ã¹ãã¬ã¼ã¿ã¼ãYouTuberãããªã¼ã©ã³ã¹ã«åé¡ããã¾ããããã¦ä»£è¡¨çãªããªã¼ã©ã³ã¹ã®è·æ¥ãããä¸ã¤ããã¾ããããã¯ããã°ã©ãã¼/ã¨ã³ã¸ãã¢ã§ãããã®ããã°ã©ãã³ã°ã®å¤§é¨åãå ããå·¥ç¨ãã³ã¼ãã£ã³ã°ã§ãããç¥èã¨æè¡ã身ã«ã¤ããã°ãæ§ãã®ããªã¼ã©ã³ã¹ã«éæ¿ããããã¨ã夢ã§ã¯ããã¾ããã ããã§ã¯ã³ã¼ãã£ã³ã°ã®ç¥èã¨æè¡ãåå¾ããã«ã¯ã©ã®ãããªã«ã¼ããããã®ã§ããããï¼ç¾å®ã¨ãã¦å¦æ ¡ã«éãããããã°ã©ãã³ã°ãè«ãè² ãä¼ç¤¾ã«å ¥ç¤¾ãããããããã¯ç¬å¦ã§åå¾ãããã®ãããããé¸æãããã¨ã«ãªãã¾ããããã§ä»åã¯æãè²»ç¨ã®å°ãªãç¬å¦ã§ã³ã¼ãã£ã³ã°ãå¦ã¶æ¹æ³ãç´¹ä»ãããã¨æãã¾ãã ç¬å¦ã§ã³ã¼ãã£ã³ã°ã®ç¥èã¨æè¡ã身ã«ã¤ããã«ã¯ ã¾ãã¯ã
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
CoffeeScriptã®ã¯ã©ã¹æ©æ§ã¯ã©ããªãã®ã調ã¹ãè¨é²ãã³ã¼ãéã¯å°ãªããæ´ç·´ããã¦ããå¹çãè¯ãããã ã http://coffeescript.org/#classes ãã¦ãå ã®coffeeã¹ã¯ãªããã¯åã«ã¯ã©ã¹ã¨ãµãã¯ã©ã¹ã®å®ç¾©ãããã ãã®ãã®ã #!/usr/bin/env coffee class Animal constructor: (@name) -> console.log "constructor of Animal" move: (meters) -> console.log "Animal#move" class Snake extends Animal constructor: (@name) -> super @name console.log "constructor of Snake" move: -> console.log "Snake#move
Siphon: CoffeeScript Programming Environment Siphon is a CoffeeScript Programming Environment, especially for iPad-like Tablet. Enjoy Siphon by clicking here! Features Real-time compiling same as the CoffeeScript site REPL (Read-Eval-Print-Loop) in the editor Software keyboard enhancement with flick gesture Click sound is available online. jQuery Mobile look and feel Editor powered by CodeMirror S
Welcome to SPELL NOTE site! SPELL NOTE is the easiest way to make web apps. You can make programs for smart devices such as tablets and smart phones as well as personal computers on your smart device. And you can share programs with site members by just one-click! A language for SPELL NOTE is CoffeeScript, which is a simple, but powerful and open technology. Here are screenshots of SPELL NOTE and
ç«ãæåã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ã§ã¯ãã©ã¤ãã©ãªã«ãã
CoffeeScript JavaScript require.js nikki Tweet JS ã®èªè¾¼ã¿é ãå¾ããè 㯠ãªããè²ã å¾ããï¼ with CoffeeScript ã¬ãã¬ããã JavaScript æ¡ä»¶ãããªãã¦ããã¨ãå¿ ãç´é¢ããã®ã JavaSscript ã®èªã¿è¾¼ã¿é åé¡ã åå©ç¨æ§ã¸ã®èæ ®ã ã£ãããä¸å¿ è¦ãªã³ã¼ããèªã¾ãªãããã«ã¨ã¢ã¸ã¥ã¼ã«ãç´°ååããå ´åã ã©ããã¦ããã®å HTTP ãªã¯ã¨ã¹ãã®åæ°ãå¢ãã¦ãã¾ãã¾ãã ãã©ã¦ã¶ã¯èªããç©ããèªãã§ããã®ã§ãjQuery ã«ä¾åãã¦ããã®ã«å ã«èªã¾ã㦠jQuery ããªãã¨æãããã ã¨ãããããã£ãçµé¨ã¯çãããä¸åº¦ã¯ããã®ã§ã¯ãªãã§ããããã ç¹ã« IE6 ã IE7 ãªã©ã§ãããã£ã¡ã ããããã£ãèªä½ã«ééãããã¨ã ãã®ããããããæãã«è§£æ±ºããã®ãä»åç´¹ä»ãã require.js ã§ãã
The Little Book on CoffeeScript
åã«æ¸ããJavaScriptã®éçºç°å¢ãæ´ããã¤ãã§ã«CoffeeScriptã®ç°å¢ãæ´ãã¾ãã Emacsã§JavaScriptã®ç°å¢ãæ´ããã - ã¯ãªã¡ã C-x C-c swank-jsã®å°å ¥ ivan4thããã®swank-jsã使ãã¨EmacsããNodeããã©ã¦ã¶ã«ã¤ãªãã§JavaScriptãå®è¡ã§ãã¾ãã JavaScriptãªãChromeã®éçºè ãã¼ã«ãFirebugã§ãåºæ¥ã¾ããããã¯ãEmacsä¸ã§åºæ¥ãã¨å¹¸ãã§ãã(ãã®ã¾ã¾ä¿ååºæ¥ãã) åã¯swank-jsã«CoffeeScriptç¨ã®æ©è½ãããã¤ãä»ãå ãã¾ããã GitHubã«ç½®ãã¦ããã®ã§ãããããå°å ¥ãã¾ãã GitHub - hanachin/swank-js: Swank backend for Node.JS and in-browser JavaScript swank-jså°å ¥æé ã»ã¨ã
enchant.jsãCoffeeScriptã§æ¸ç´ãã¾ããã GitHub - hanachin/enchant.js: HTML5/JavaScript Based Game Engine / MIT or GPL dual license enchant.coffeeã¨ãããã¡ã¤ã«ãããã¯ãã§ãã ãµã³ãã«ã¯example/action-coffee/ã¨example/action-coffee2/以ä¸ã«å ¥ã£ã¦ãã¾ãã çç± åã¯CoffeeScriptã«ããã£ã¦ãã¾ããCoffeeScriptã¯ç¾ããããã§ãã functionãæ¸ããªãã¦ããããå ¨ã¦å¼ãªã®ã§returnãæ¸ããªãã¦ããããå¾ç½®ã§ifãæ¸ããããããã©ã«ãå¼æ°ãããããå å 表è¨ãåã便å©ã ãã?ãªãã¬ã¼ã¿ãããªã便å©ã§ãã åã¯enchant.jsã«ãããã£ã¦ãã¾ããenchant.jsã¯ç´ æ©ãã²ã¼ã ãä½ããããã¹
ãããã«ðã«ãã¼ãðð«ð ð½ððð¦ @uupaa CoffeeScriptãã人ã«ä¸è¨ãjsã¯ã·ã³ã°ã«ã¹ã¬ããã ãã©å¿åé¢æ°ã§ã©ããããã¨é¢æ°ã®åºå£ã§ã¹ã¬ããã³ã³ããã¹ãããå¯è½æ§ããããã並åå¦çã«ã¹ã¬ãããã£ã¦ãããªãããã«æ°ãã¤ãã¦ãæè¿æã¢ã¬ã§ãæã¾ã§ã«ãã¼ã¸è¡¨ç¤ºãä¸å®å®ãªã®ãç´ãã¦ãã¨æ³£ãä»ããã奴ã¯ã¾ãã«ããã ã£ãã 2011-05-06 01:12:53 ãããã«ðã«ãã¼ãðð«ð ð½ððð¦ @uupaa CoffeeScriptã¯ãã£ããå¿åé¢æ°ã§ã©ããããããããã¿ã¤ãã³ã°ã«ä¾åããä½ãã§ãç¶æ é·ç§»ããã£ãããããææããã¦ãã¨å ã«xhrãçµãã£ã¦ãã¾ããããã§å¦çãã£ã¦ããã¦ãæºåã§ãã¦ãªãã®ã«ãã¼ã¸è¡¨ç¤ºå¦çãèµ°ã£ã¦ãå ¨ä½ãä¸å®å®ã«ãªããã£ã¦å¥´ã ã£ã 2011-05-06 01:15:23
coffee-worldã¯ãã£ã¬ã¯ããªãç£è¦ãã¦CoffeeScriptããHTML/CSS/JavaScriptãçæããã½ããã¦ã§ã¢ã§ãã æè¿ãJavaScriptãç´ ã®ã¾ã¾ã§æ¸ããã¨ãæ¸ã£ã¦ãã¦ãã¾ããCoffeeScriptããå¤æããæ¹ãã³ã¼ãã£ã³ã°éãå°ãªãããã¤å¯èªæ§ã®é«ãã³ã¼ããæ¸ããããã«ãªã£ã¦ãã¾ããããããªCoffeeScriptã¯æ¢ã«JavaScriptã ãã®å£ãè¶ãã¦åãå§ãã¦ãã¾ãããããªäººã«ãå§ããªã®ãcoffee-worldã§ãã ã¤ã³ã¹ãã¼ã«ã¯npmããã§ãã¾ããã³ãã³ãã«ããªãã¨ãããªãã®ã§å®éã«ã¯-gãã¤ãã¾ãã ã³ã¼ãä¾ãããã¯CoffeeScriptã§CSSãçæããccssãã©ã¼ãããã§ãã å¾ã¯coffee-worldãèµ·åããã¨ç¾å¨ã®ãã£ã¬ã¯ããªã¾ãã¯ãã¹ãæå®ãã¦ãã®ãã¹ä»¥ä¸ã®ãã¡ã¤ã«ãã³ã³ãã¤ã«ãã¦ãããããã«ãªãã¾ãã CoffeeS
ä¹ ãã¶ãã« Cocoa ã¢ããªãæ¸ãã¾ããããã®ã¨ãã CoffeeScript 㨠Python ãããã¨ããæ¸ãã¦ããã§ããããã¨ããã¾ããããªã«ããããéã§ããªãããã©ãCoffeeScript ããããã·ã³ãã«ãããããã©ããã¡ãã¡ã³ã³ãã¤ã«ãããããã©ãããã®ããã¡ããã³ã³ãã¤ã©ã«ã¯ãã©ã«ãç£è¦ãã¦å¤æ´ãã£ããã³ã³ãã¤ã«ã£ã¦ãã watch ãªãã·ã§ã³ (-w) ããã®ã ãã©ãã³ãã³ãã©ã¤ã³ã§ããããããããã¨ã©ã¼ãã¨ãã£ã¿ã®è£ã§åºã¦ã¦ãã¥ãããã¨ããã¾ããå¾®å¦ãªã®ã§ãGUI ã§ã¨ã©ã¼ã Growl ã§ã£ã¦ããã®ãä½ã£ã次第ãã¨ãããã使ããã¬ãã«ã¾ã§ä½ã£ãã®ã§ã½ã¼ã¹ã Github ã¸ãã³ã³ãã¤ã«ããã js ãããã« Closure Compiler ã§ã³ã³ãã¤ã«ã¼ãã¨ããStylus ã«ã対å¿ãããããã¡ã ã¼ãããã¡ãã£ã¨æ°ã®å©ããååã¨ç´ æµãªã¢ã¤ã³ã³ã欲ããã ãã¡ããã³
æè¿CoffeeScriptçéã®ããã´ã¹ãã£ã¢(æ»èª)ãè³ããã¦ãããCoffeeScriptã使ãã¹ããã使ãããã¹ããï¼ãã¨ãã話é¡ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ãã 以ä¸ã®è¨äºç´¹ä»ã¯è¶ 訳ãã¤è¦ç´ãªã®ã§è©³ããç¥ããã人ã¯å è¨äºãåç §ã®ãã¨ã ãã¨ã®çºç«¯ã¯ãã®è¨äºã SnackJSã®ä½è ãCoffeeScriptããã£ã¹ãã A Case Against Using CoffeeScript by Ryan Florence ãããã°ã®åé¡ CoffeeScriptãçæããJavaScriptã¯ãã¡ãã¨ãã¦ãããã©ãçµå±ã¯èªåãæ¸ããã³ã¼ããããªãããèªã¿ã«ãããèªåã§ç´æ¥æ¸ããã»ããè¦ãããã ããã«CoffeeScriptããããã°ããã¯ã¼ã¯ããã¼ã¯å¤§å¤ã ã ã¾ãåé¡ãJavaScriptå ã®ã©ãã§çºçããã®ããçªãæ¢ãã(CoffeeScriptã®ã³ã¼ãã¨è¡åä½ã§å¯¾å¿ãã¦ãªããã大å¤ã )
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}