daily:2021-07-01
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| daily:2021-07-01 [2021/07/01 14:58] – chrisbolas | daily:2021-07-01 [2021/07/02 05:52] (current) – [Heap:] chrisbolas | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Heap: ===== | ===== Heap: ===== | ||
| + | Came across this inconsistency in my attempt to refactor my_each_with_index | ||
| + | |||
| + | < | ||
| + | def my_each_with_index | ||
| + | index = 0 | ||
| + | # self.my_each {|item| yield item, index and index += 1} | ||
| + | # ^^^ look into why this doesn' | ||
| + | # | ||
| + | self.my_each do |item| | ||
| + | yield item, index | ||
| + | index += 1 | ||
| + | end | ||
| + | end | ||
| + | </ | ||
| + | |||
| + | [[https:// | ||
| + | ==== Book: Deep Work ==== | ||
| + | The importance and reverence of Deep Work in this book was actually humbling. I haven' | ||
| + | |||
| + | === Rules === | ||
| + | - Work Deeply | ||
| + | - Embrace Boredom | ||
| + | - Quite Social Media | ||
| + | - Drain the Shallows | ||
| ==== Book: Futureproof ==== | ==== Book: Futureproof ==== | ||
daily/2021-07-01.1625151526.txt.gz · Last modified: 2021/07/01 14:58 by chrisbolas
