2016/12/02ã«éå¬ããããBetter Javaã®ä¸æ©å ã¸ï¼ Scalaãªãã¡ã¯ã¿ãªã³ã°å ¥éãã§ä½¿ç¨ãããçºè¡¨è³æã§ãã
Scalaããã°ã©ãã³ã°ã§ç¥ã£ã¦ããããåºæ¬æ§æã¾ã¨ãï¼ã¹ã±ã¼ã©ãã«ã§é¢æ°åã§ãªãã¸ã§ã¯ãæåãªScalaå ¥éï¼2ï¼ï¼1/2 ãã¼ã¸ï¼ REPLã使ã£ã¦Scalaã®ææ³ãè¦ããã ååã®é£è¼ç¬¬1åè¨äºãEclipseã§Scalaããã°ã©ãã³ã°ãå§ããããã®åºç¤ãã§ã¯ãScalaã®ç¹å¾´ã«ã¤ãã¦ã®è§£èª¬ããå§ã¾ããScalaã®ã¤ã³ã¹ãã¼ã«ãããã¦Scalaããã°ã©ã ãè¨è¿°ãã¦REPLã¨Scala IDE for Eclipseï¼ä»¥ä¸ãScala IDEï¼ã§ã®åä½ã確èªãã¦ã¿ã¾ãããScalaããã°ã©ãã³ã°ãå§ããããã®æºåãã§ããã®ã§ãããããä»åããScalaã®ææ³ã«ã¤ãã¦ç´¹ä»ãã¾ãã 第1åè¨äºã§ã¯ãScalaæ¨æºã®REPLã¨Scala IDEã§åä½ã確èªãã¦ã¿ã¾ãããä»å¾æ¬è¨äºã®ãµã³ãã«ã³ã¼ãã¯ãã©ã¡ãã§ç¢ºèªãã¦ãåé¡ã¯ããã¾ãããã対話çã«å®è¡ã§ãã1æãã¨ã«ã³ã¼ãã®çµæãåãã£ã¦ä¾¿å©ãª
ããã°ã©ãã³ã°è¨èªScalaã®è§£èª¬æ¸ãScalaè¨èªã®åºæ¬çãªæ©è½ãScalaç¹æã®è¨è¨ã«ã¤ãã¦å¦ã¶ãã¨ãã§ãã¾ãã対象èªè ã¯JavaãRubyã¨ãã£ããªãã¸ã§ã¯ãæåè¨èªã®çµé¨ãæã¤ããã°ã©ããååã¯å®è¡å¯è½ãªãµã³ãã«ãå®éã«åãããªããè¨èªã®èª¬æããã¦ããããåå¦è ã«ãèªã¿ããããå¾åã®è¨èªä»æ§ã®è©³ç´°ãScalaç¬ç¹ã®ã¤ãã£ãªã ãè¨è¨ååããã¶ã¤ã³ãã¿ã¼ã³ãDSLã¨ãã£ãé«åº¦ãªæ¦å¿µã«ã¤ãã¦ã®è§£èª¬ã¯ä¸ä¸ç´è ã«ã¨ã£ã¦ãåèã«ãªãã¾ããæ¥æ¬èªçã§ã¯ç¬èªã®ç« ã2ã¤è¿½å ããScala 2.8ã«ãããå¤æ´ç¹ã¨Simple Build Toolã使ã£ãScalaã®éçºã«ã¤ãã¦è§£èª¬ãã¾ãããScala 2.7/2.8対å¿ã ç®æ¬¡ æ¨è¦ã®è¨è è³è³ã®å£° 訳è ã¾ããã ã¾ããã 1ç« ãã¤ã³ãããã¯ã·ã§ã³ ââæé 0ãã¤ã«ãã 60ãã¤ã«ã¾ã§ 1.1ããªã Scalaã使ãã®ã 1.1.1ãããããªãã
ã¯ã¦ãªã§ã¯é±ã«ä¸åã社å æè¡åå¼·ä¼ã¨ããã®ããã¦ãã¾ããä»é±ã¯åã®å½çªã ã£ãã®ã§Scalaã®å ¥éçãªè©±ããã¾ããã æ®æ®µä½¿ãã®è¨èªã¨ãã¦ãScalaã®ä¾¿å©ãªã¨ãããã¾ã¨ããã¨ããã¤ããã§ããã¨ã¯ãããä»ã®è¨èªã«ãããç¹å¾´ãããã¨ç´¹ä»ãã¦ãã®ã§ãããã¡ãã£ã¨Scalaç¬èªã®å 容ã«ãã©ã¼ã«ã¹ãã¦ãããã£ã... ããããããæéã®é½åã§å ¨é¨è©±ãããªãã¦ãä¼ãçµãã£ãå¾ã§implicitã¾ããã®è©±ã¨ãæ°äººã«ãç´¹ä»ãããä¸çªãããããã£ãã¨è¨ã話ã«ãªã£ãã®ã§ç¡å¿µã ãã®æ©è½ãç´¹ä»ãã¦ãªãã¨ã¯ãããããã¿ãããªã®ããã£ããæãã¦ä¸ãããããã¯ãã£ã¦ãã¨ãããã Scalaã¹ã±ã¼ã©ãã«ããã°ã©ãã³ã°ç¬¬2çãèªãã¨ããã§ãã â è³æã¯gistå½¢å¼ã§embedãã¦ããã¾ã â https://gist.github.com/hakobe/e1aa2501a64e7f801b55 ãã¡ãããããã Sca
Other Languages: íêµì´ Ð ÑÑÑкий ç®ä½ä¸æ About Scala school started as a series of lectures at Twitter to prepare experienced engineers to be productive Scala programmers. Scala is a relatively new language, but draws on many familiar concepts. Thus, these lectures assumed the audience knew the concepts and showed how to use them in Scala. We found this an effective way of getting new engineers up to spe
ãã¿å æ¥åç³»ã®Javaããã°ã©ãã¼ãç¥ã£ã¦ããã¹ã10åã®Bad Partsã¨ãã®å¯¾ç çµè«ããå ã«è¨ãã¨ã3ã¨10以å¤ã¯çµæ§ç´æ¥çã«scalaã§è§£æ±ºã§ããã¨ããããjavaã«æ¯ã¹ã¦scalaã®æ¹ã便å©ã ã¨ãããã¾ãã*1 ãã¨ãå ãã¿ã®blogã®äººã¯groovy詳ããã¿ããã§ããã»ã»ã» groovyã¨scalaæ¯ã¹ãã¨groovyã®æ¹ãæ軽ã§ä¾¿å©ã ã£ãããscalaã®ã»ããåå®å ¨ã ã£ãã*2ããããããããããã¾ããããgroovyãã¾ã詳ãããªãã®ã§ããã®è¾ºã®è¨åã¨ããããæ¯è¼ã¯ããã¦ããã¾ãã*3 1.æ¨æºAPIã®ãã§ãã¯ä¾å¤ãæ±ãã«ãã ãã§ãã¯ä¾å¤ã£ã¦ãªã«ããããããã®?(ã»Ïã») java Field field; try { field = getClass().getField("testField"); Object value = field.get(this); }
ã§ã¯ãScalaã®ããã°ã©ã ã®æ¸ãæ¹ã«ã¤ãã¦ããããã£ã¨é ã«å ¥ãã¦è¡ãã¾ããããã¾ãã¯ãEclipseã§ããã¸ã§ã¯ããä½æãã¦ããã¾ããããScala IDEãã¤ã³ã¹ãã¼ã«ããã¦ããã¨ãScalaã¢ããªã±ã¼ã·ã§ã³ã®ããã¸ã§ã¯ããä½ããã¨ãã§ãã¾ãã 1. ããã¡ã¤ã«ãã®ãæ°è¦ãå ã«ãããæ°è¦ããã¸ã§ã¯ã...ãã¡ãã¥ã¼ãé¸ã³ããã³ãã¬ã¼ãé¸æã®ãã¤ã¢ãã°ã§ãScalaã¦ã£ã¶ã¼ããã¨ãããã©ã«ãã«ãããScalaããã¸ã§ã¯ãããé¸æãã¾ãã 2. ç¶ãã¦ã®ç»é¢ã§ãããã¸ã§ã¯ãåãå ¥åãã¾ãããã®ä»ã®é ç®ã¯ããã©ã«ãã®ã¾ã¾ã§OKã§ãããã®å¾ããã«ãè¨å®ã«é²ã¿ã¾ãããããã¯ä½ãè¨å®ãããã¨ã¯ãªãã®ã§ãå ã«é²ã¾ãããã®ã¾ã¾ãå®äºããã¿ã³ãæ¼ãã¦ããã¸ã§ã¯ããä½æãã¦ãã¾ãã¾ãããã¾ããçµäºæã«ãScalaã®ãã¼ã¹ãã¯ãã£ãã«å¤æ´ãããå°ãã¦ããããåãæ¿ãã¦ãã ããã 3. ããã¸ã§ã¯ããä½ã£ãã
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
ä»äºã§ä½¿ãæ©ä¼ã«æµã¾ããã®ã§ããã£ããã¤ã³ã¹ãã¼ã«ï¼ï¼ MacPortsã§ã¤ã³ã¹ãã¼ã«ãããããªï¼ MacPortsã®ã¤ã³ã¹ãã¼ã«ãå種ã¢ã¯ã·ã§ã³ã«ã¤ãã¦ã¯ã以åã«ã¨ã³ããªã¼ã§æ¸ãã¦ããã®ã§èå³ãããã°è¦ãã¦ã¿ã¦ãã ãããå ·ä½çãªMacPortsã®èª¬æ - Liquidfuncã®æ¥è¨ AIR: ~$port search mongodb mongodb @1.6.3 (databases) High-performance, schema-free document-oriented database py25-pymongo @0.15.2 (python, databases) Python access to mongodb py26-pymongo @1.9 (python, databases) Python access to mongodb Found 3 ports. mo
ãã®ãµã¤ãã®éçºæ§æ Created by iam_o_sin on 2011-05-29. Updated: 2011-07-03 ãã¼ãPC acer Aspire Timeline X 3830Tã·ãªã¼ãº ãã«ã¼ AS3830T-N54D ï¼ä»¥åã¯ã¹ã¬ã¼ãPC ASUSTeK Eee Slate EP121ï¼ã® Windows 7 Home Premium 64bit ä¸ã§ã以ä¸ã®è¨èªãWebã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ãéçºç°å¢ãå©ç¨ãã¦ãã¾ãã Scala  â ããã°ã©ãã³ã°è¨èª Play! framework  â Web ãã¬ã¼ã ã¯ã¼ã¯ Eclipce  â éçºç°å¢ Play! framework åã³ Scala ã¯åæå¦ç¿ã³ã¹ããä½ãã Scala ã¯ä¿¡é ¼æ§ã®é«ãã¡ã³ããã³ã¹å¯è½ãªã³ã¼ããæ¸ããã¨ãã§ãã¾ãã ã¾ã Eclipse 㯠Java ã®éçºã§åºãå©
å æ¥ãHadoop Conferenceã§Scala on Hadoopã¨ããã¿ã¤ãã«ã§çºè¡¨ãã¦ãã¾ãããã¹ã©ã¤ãã以ä¸ã«ç½®ãã¦ããã¾ãã Scala on HadoopView more presentations from Shinji Tanaka. ãã¤ã¸ã§ã¹ãã¨ãã¦ãScalaãHadoopã§åããããã®æ¹æ³ãæ¸ãã¦ããã¾ãã ã¾ããHadoopä¸ã§Scalaãå®è¡ãããããã«ã¯ãJavaã¨Scalaãæ¥ç¶ããã©ã¤ãã©ãªãå¿ è¦ã¨ãªãã¾ããããã§ã¯ãSHadoop( http://code.google.com/p/jweslley/source/browse/#svn/trunk/scala/shadoop )ã使ç¨ãã¾ããSHadoopã¯ãåå¤æãè¡ãã·ã³ãã«ãªã©ã¤ãã©ãªã§ãã ããããWordCountã®ãµã³ãã«ãWordCount.scala (http://blog.jo
åæ¸ã Scalaã¨ããè¨èªããåç¥ã§ããï¼ Javaã¨åããã³ã³ãã¤ã«ãããã¨classãã¡ã¤ã«ã«ãªããå®è¡æã¯JVMä¸ã§åä½ããããªãã¸ã§ã¯ãæåï¼é¢æ°åã®ããã°ã©ãã³ã°è¨èªã§ãã Scalaãéçºããã®ã¯Javaã®genericsã®è¨è¨ãæãããããjavacã®éçºããã¦ããçµæ´ãæã¤Martin Oderskyæ°ã Scalaã¯å¾çºã®è¨èªã¨ãããã¨ããã£ã¦ãJavaãæ¸ãã¦ããæã«æããåé·ãã«å¯¾ããæ§ã ãªè§£ãç¨æããã¦ãã¾ãã æ¬è¨äºã§ã¯ãScalaã¨Javaã®ã³ã¼ããæ¯è¼ããªãããJavaã¦ã¼ã¶ãScalaã«ç§»ã£ãéã«å¾ãããã¡ãªãããæ示ãã¦ããã¾ãã å°ãåºç¤ã®ãµã³ãã«ã³ã¼ãã¯Javaã¦ã¼ã¶ã«ä¼ãããããããã«ãreturnãæè¨ããããã¡ã½ããã¯å¿ ã{ }ã§å²ããªã©ã極åJavaã£ã½ãè¨è¿°ããã¦ãã¾ãã ã ãããJavaã¨åããããªæ¸ãæ¹ãã§ãã¾ã Scalaã¯Javaã®
åºçããã¦ããæè¡æ¸ã®ã¿ã¤ãã«ããããä¸ã§ã®æ å ±ãå ã«ããªãã¨ãªãã·ã¹ãã éçºã§ä½¿ãããæè¡ãå½ã«ãã£ã¦å·®ãããããã«æããã¨ãããã¨ããããã¾ã§ãããããªè¨äºã§æ¸ãã¦ããã®ã§ãããã¯ããã¦å®éã®ã¨ããã¯ã©ããªã®ã§ããããï¼300å¹´åãªããManningã®in actionã·ãªã¼ãºã®è¡¨ç´ã«æããã¦ãã人ç©*1ã®ããã«å½ãã¨ã«ãããããªè¡£è£ ããã£ã¦å¤æ§ãªæåãåå¨ãã¦ããã®ã§ãããããã©ãææåãããç¾ä»£ã§ã¯ãæè£ ãé£ã¹ç©ãããã»ã©éãããªãã¨ããã¨ãããããã¾ããITæ¥çã¯æåéãæ å ±ãæ±ãç£æ¥ãªã®ã§ããããä¸çä¸ã®ææ°ã®æ å ±ãéã¾ã£ã¦ãã¦ãããã¹ããªããã§ãããã©ã®å½ã§ã大差ããªãã¯ãã¨ããæ¨æ¸¬ãã§ããªãããã§ã¯ããã¾ããã ããã¾ã§ãç®å®ãªã®ã§ãããGoogle Insights for Searchã¨ãããµã¼ãã¹ãå©ç¨ããã¨ãåèªã®æ¤ç´¢åæ°ãå°åãã¨ã«éè¨ãããã¨ã§ãåå°åã§ã©ããã£
â [Scala] RubyããScalaã«ä¹ãæãã15ãããã®çç± [注æ] ãã®æç« ãèªãã¨ãæ¢åã®Rubyã³ã¼ããScalaã§rewriteããããªãã Rubyã³ã¼ãã§åãã§ãã¯ãããã®ã鬱ã«ãªããRubyæ¡ä»¶ã§ããæ°ãåºãªããªãã ãªã©ã®å¹»è¦ãç°å¸¸è¡åãå ±åããã¦ãã¾ãã ç¾å¨é¢ãã£ã¦ããããã¸ã§ã¯ãã家æã®ãã¨ã常ã«æèãã æ°ãå¼·ãæã£ã¦å·éã«èªãã¨ããã§ãããã ãScalaããã°ã©ãã³ã°å ¥éããèªã¿ã¯ããã¦ããããªã大ããé ·ãã¦ãã¾ã£ãã "ã³ã¼ãã£ã³ã°æéã®ååããã¹ãä½æã«è²»ãããªããã°ãªããªãã£ã"(p.3) "Railsã«ãã£ã¦å¾ãããçç£æ§ã®åä¸ã¯ããã¹ãä½æã®ä½æ¥ã«å¤±ããã¦ãã¾ãã¾ãã"(p.3) ã¾ãã«ããæ°å¹´ç§ãæ±ãã¦ãæ¼ ç¶ã¨ããã¹ãã¬ã¹ã®æ£ä½ããç確ã«æç« ã¨ãªã£ã¦ããããã ãããã¦ã»ã©ãªããããããã®æ©è½ãRubyã«æ¬²ããã£ãï¼ãã¨ããé©ãã¨å ±ã« Sc
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}