From 3e6d6041282163d8db4addeca3789eb03b100d30 Mon Sep 17 00:00:00 2001 From: Reg Braithwaite Date: Fri, 15 Jun 2012 17:32:00 -0400 Subject: [PATCH] fixed link --- 2008-11-28/you_cant_be_serious.md | 2 +- 2012/04/fatty.md | 22 ------- 2012/05/anaphora.md | 2 +- homoiconic.tmproj | 103 +++++++++++++++++++++++++----- 4 files changed, 90 insertions(+), 39 deletions(-) delete mode 100644 2012/04/fatty.md diff --git a/2008-11-28/you_cant_be_serious.md b/2008-11-28/you_cant_be_serious.md index fea17954..df9128c8 100644 --- a/2008-11-28/you_cant_be_serious.md +++ b/2008-11-28/you_cant_be_serious.md @@ -187,7 +187,7 @@ Seriously. --- * [recursive\_combinators.rb](http://github.com/raganwald/homoiconic/tree/master/2008-11-26/recursive_combinators.rb) -* [string\_to\_proc.rb](http:string_to_proc.rb) +* [string\_to\_proc.rb](http://github.com/raganwald/homoiconic/tree/master/2008-11-26/string_to_proc.rb) _More on recursive combinators_: [Refactoring Methods with Recursive Combinators](http://github.com/raganwald/homoiconic/tree/master/2008-11-23/recursive_combinators.md#readme), and [Practical Recursive Combinators](http://github.com/raganwald/homoiconic/tree/master/2008-11-26/practical_recursive_combinators.md#readme). diff --git a/2012/04/fatty.md b/2012/04/fatty.md deleted file mode 100644 index 21a9992f..00000000 --- a/2012/04/fatty.md +++ /dev/null @@ -1,22 +0,0 @@ -# The confusing similarity between fat arrows and an infix comparator - -Due to [popular demand][cs], in ES6 you will be able to write *either*: - - x >= x - 2 - -Or: - - x => x - 2 - -No doubt there will be some folks who complain that it would be confusing if these two similar expressions meant different things. After all, they look *almost* alike. By that logic, the following two statements should mean the same thing: - - x = y - -And: - - y = x - -Alas, that ship has sailed. Yet somehow, [a language that got this wrong helped us put men on the moon][fortran]. Of course, that may say more about the heroics of the programmers than it does about the brilliance of their tool. After all, the men into space were guided by slide rule and longhand calculations. - -[fortran]: http://www.lahey.com/nl00apr.htm#Fortran_and_the_Space_Program -[cs]: http://coffeescript.org \ No newline at end of file diff --git a/2012/05/anaphora.md b/2012/05/anaphora.md index 660c75b7..2c969d69 100644 --- a/2012/05/anaphora.md +++ b/2012/05/anaphora.md @@ -163,7 +163,7 @@ Unlike the other gems, `it` needn't be the receiver: Person.all(...).each { (name_count[its.first_name] ||= 0) += 1 } -This style of code works best when you would naturally use the word "it" or the possessive "its" if you were reading the code aloud to a colleague. (You can use the underscore, `_` instead of `it` or `its` for visual compatibility with certain functional programming languages). `rewrte_rails` does its magic by parsing the block and rewriting it. So when you write: +This style of code works best when you would naturally use the word "it" or the possessive "its" if you were reading the code aloud to a colleague. (You can use the underscore, `_` instead of `it` or `its` for visual compatibility with certain functional programming languages)Stri. `rewrte_rails` does its magic by parsing the block and rewriting it. So when you write: ```ruby (1..10).map { 1 + it * 2 } diff --git a/homoiconic.tmproj b/homoiconic.tmproj index 13a56acf..f27b7386 100644 --- a/homoiconic.tmproj +++ b/homoiconic.tmproj @@ -3,7 +3,7 @@ currentDocument - 2012/01/reuseable-abstractions.md + 2012/05/anaphora.md documents @@ -35,50 +35,122 @@ firstVisibleLine 0 - 2012/01/captain-obvious-on-javascript.md + 2009-09-22/anaphora.md caret column - 37 + 0 line - 146 + 0 columnSelection firstVisibleColumn 0 firstVisibleLine - 112 + 0 selectFrom column - 94 + 0 line - 159 + 0 selectTo column - 37 + 85 + line + 250 + + + 2012/01/captain-obvious-on-javascript.md + + caret + + column + 0 line - 146 + 0 + firstVisibleColumn + 0 + firstVisibleLine + 112 2012/01/reuseable-abstractions.md caret column - 9 + 0 line - 39 + 0 firstVisibleColumn 0 firstVisibleLine 11 + 2012/05/anaphora.md + + caret + + column + 277 + line + 165 + + firstVisibleColumn + 0 + firstVisibleLine + 140 + + 2012/05/i.md + + caret + + column + 0 + line + 64 + + firstVisibleColumn + 0 + firstVisibleLine + 31 + + 2012/05/read_only_code.md + + caret + + column + 85 + line + 156 + + columnSelection + + firstVisibleColumn + 0 + firstVisibleLine + 106 + selectFrom + + column + 159 + line + 143 + + selectTo + + column + 85 + line + 156 + + dumping_ground/coffeescript_and_underscore.md caret @@ -96,13 +168,14 @@ openDocuments - dumping_ground/coffeescript_and_underscore.md - 2012/01/reuseable-abstractions.md - 2012/01/captain-obvious-on-javascript.md + 2012/05/read_only_code.md + 2012/05/i.md + 2009-09-22/anaphora.md + 2012/05/anaphora.md showFileHierarchyDrawer windowFrame - {{40, 0}, {1931, 1418}} + {{330, -0}, {1641, 1418}}