azu
azu
色々な企業のJavaScript状況について聞いて回りたい。 どういう情報を聞いていくのが建設的なんだろ。後、聞きたい企業とかのリスト化したい。
これは求人ではなく宣伝だけど、[Codeship](https://www.codeship.io/)はpodcastでのスポンサーをよくやってる気がする。(メールマガジンでも同じようにやってるけど…) 最近聞いたフロントエンドのやつ大体出てくる。音は何だかんだ印象に残りやすい気がする(Podcastは飛ばすの面倒だから避けにくいだろうし) - http://javascriptjabber.com/ - http://five-js.envylabs.com/ - http://nodeup.com/ - http://thechangelog.com/
mu-epub-reader just use https://github.com/futurepress/epub.js/ It seems that epuh.js does not support mobi/djvu.
Copy ```ts /** * * K is type of a key * T[K] is type of its value */ export type PartialMap = { [K in keyof T]?: (prev: T[K])...
Note: mixin should support ValueObject ```ts class AbstractBookmark extends ValueObject{} export class Bookmark extends Copyable(AbstractBookmark) { } ```
TypeScript can not implements generics type. We can just use `constructor(prop: Props)` that is similar with React. ```ts type Props = { id: Identifier } class MyEntity extends Entity{} ```
https://github.com/azu/hatebupwa/pull/11 I've tried to apply this pattern. There are props and cons. ## Props - Props merging is easy ```diff return new AppSession({ - ...(this as AppSessionProps), + ...this.props +...
`x.props.y.props.z` is unly. But, we can avoid this by assign props to properties manually. Compare 0.4 between 0.5 is very similar code. `props` is immutable value. It will be changed...
Add docs - [Nesting props is ugly](https://github.com/almin/ddd-base#nesting-props-is-ugly)
TypeScript support declaretion merging - [Declaration Merging · TypeScript](https://www.typescriptlang.org/docs/handbook/declaration-merging.html) - https://github.com/Microsoft/TypeScript/issues/16737#issuecomment-367045127 ```ts interface UserData { name: string; birthday: Date; regdate: Date; social: string; passwordHash: string; isAdmin: boolean; } interface User...