全体として太一が感覚的に実践している事を論理的に説明しようと試みている為、
説明の粒度が適切でなかったり一貫性が無いように見える部分があるかもしれない。
普段やっているけども書ききれていない事も多分きっとある。
- コードを嗜む
- コードを学ぶ
- 武器を手に入れる
| public class TaskExample { | |
| public void execute() { | |
| // RV alice: Plz give fancier name than `foo'! | |
| // bob: Why? `foo' sounds perfect. | |
| // alice: It's just too anonymous. | |
| String foo = "wtf"; | |
| System.out.println(foo); | |
| } |
| /* | |
| * IoC (Inversion o Control) Computation Expression | |
| */ | |
| function ioc(fn) { | |
| assert(isGeneratorFunction(fn), 'The argument `fn` must be a GeneratorFunction.'); | |
| run.mflow_generatorFunction = fn; | |
| return run; | |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.