- TDDは1つのボールに集中する
- 「割り込みにさらに割り込みしない」は実践したい
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/perl | |
# | |
# Written in 2017 by Kazuho Oku | |
# | |
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. | |
# | |
use strict; | |
use warnings; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
trait EnumTrait | |
{ | |
/** @var static[] */ | |
private static $instance; | |
/** @var mixed value of constant */ | |
private $value; | |
/** |
https://speakerdeck.com/rtechkouhou/javaru-men
p.68 7って数値リテラルが大分ヤバい
p.69 entrySetメソッドを使うべき 単にListに変換したいだけなら、謎のDTOとかいうオブジェクトの必要性を感じない
List<Map.Entry<String, String>> list = new ArrayList<>(arg.entrySet());
p.72
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('intelli-espower-loader'); | |
require('./test/foo.test.js'); |
- Railsにプルリクストを送るときに知っておくと便利なお作法集
- Railsにプルリクエストを送りたいけど何から始めたらいいのかわからない人向けの指針
お作法についてはRuby on Rails に貢献する方法 | Rails ガイドを参考にしています。
Railsのコードを読むには、最低限次の二つの知識があったほうがよいです
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* browserify -t espowerify ./build/test/e2e/app001.test.js > ./build/test/e2e/app001.test-bundle-by-cmd.js | |
*/ | |
//... | |
'use strict'; | |
var assert = require('power-assert'); | |
describe('apptest001', function () { | |
it('should raise', function () { | |
assert(assert._expr(assert._capt(1 === 0, 'arguments/0'), { | |
content: 'assert(1 === 0)', |

NewerOlder