この資料は、java-ja.ddd の資料、ブログのまとめです http://connpass.com/event/1934/
和智さんの発表資料 http://www.slideshare.net/digitalsoul0124/ddd-17678116
増田さんの発表資料
| * 自己紹介 | |
| 山城 | |
| 仕事、緑色の会社, アカツキ、カンム,Appbank | |
| Ruby歴 | |
| java-jaからきました | |
| yang8さんはシカトしろと言われた | |
| * 今時の開発について |
この資料は、java-ja.ddd の資料、ブログのまとめです http://connpass.com/event/1934/
和智さんの発表資料 http://www.slideshare.net/digitalsoul0124/ddd-17678116
増田さんの発表資料
| #!/usr/bin/env coffee | |
| console = require 'console' | |
| #npm install jsdom | |
| jsdom = require 'jsdom' | |
| Array::unique = -> | |
| output = {} | |
| output[@[key]] = @[key] for key in [0...@length] |
| history | tail -n 1 -q | awk '$1=""; {print}' | pbcopy |
| <?php | |
| class Hoge { | |
| function __construct() { | |
| $this->func = function () { | |
| print("func"); | |
| }; | |
| } | |
| function init() { | |
| $foo = $this->func; | |
| $foo(); |
| def hoge[H <: Hoge[Option[E], E], E <: String] : H = { | |
| null.asInstanceOf[H] | |
| } | |
| class Hoge[T[E], E <: String] |
| package study | |
| import scala.util.control.Exception._ | |
| import org.specs2.mutable.Specification | |
| class JavaCallSpec extends Specification { | |
| def callJavaCode[T](v:Any, methodName:String)(implicit callCm: ClassManifest[T]): Any = { | |
| println(v.getClass) | |
| val m = v.getClass match { | |
| case c if c == classOf[Integer] => { | |
| allCatch withApply { (t: Throwable) => |
| 、package study | |
| import org.specs2.mutable.Specification | |
| import scalaz.Identity | |
| import org.sisioh.dddbase.core.Entity | |
| import java.io._ | |
| class SerializeSpecs extends Specification { | |
| "Serial " should { | |
| "Some" in { |
| package study | |
| import org.specs2.mutable.Specification | |
| import scalaz.Identity | |
| import org.sisioh.dddbase.core.Entity | |
| import java.io._ | |
| class Hoge extends Specification { | |
| "Serial " should { |
| import org.specs2.mutable._ | |
| trait BarTrait {} | |
| class Hoge {} | |
| class TraitGetClassTest extends Specification { | |
| "Trait mixin " should { | |
| "getClass " in { | |
| val hoge = new Hoge with BarTrait | |
| hoge.getClass.toString must_== "Hoge" | |
| } | |
| } |