Skip to content

Instantly share code, notes, and snippets.

View twada's full-sized avatar
💭
🦁

Takuto Wada twada

💭
🦁
View GitHub Profile
@shepherdwind
shepherdwind / index.js
Created April 21, 2017 08:45
espower-path-ts
require('intelli-espower-loader');
require('./test/foo.test.js');

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

<?php
trait EnumTrait
{
/** @var static[] */
private static $instance;
/** @var mixed value of constant */
private $value;
/**
@kasei-san
kasei-san / テスト駆動開発読書感想会議事録.md
Created November 21, 2017 08:22
テスト駆動開発読書感想会議事録

テスト駆動開発読書感想会議事録

集中

  • TDDは1つのボールに集中する
  • 「割り込みにさらに割り込みしない」は実践したい

TDDというスキル

@kazuho
kazuho / git-blame-pr.pl
Last active June 28, 2022 07:15
git-blame by PR #
#! /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;