Top all-time · #23044
evang.eli.st
Personal blog · evang.eli.st/blogprogrammingcareer
evang.eli.st is a personal blog at evang.eli.st about programming and career. Since 2007, 3 different Hacker News readers have linked it 3 times. No feed was found, so read it on the site itself.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
Linked as an example of DSL design, specifically RSpec's story runner, with before-and-after code comparing unit tests to RSpec stories. The commenter cites it to show how English-like syntax can become uncomfortable.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
What Hacker News says?
DSL's are great as long as you don't take them too far towards the "natural language" style of coding. For example, I find RSpec's story runner uncomfortable to work with because of the overly English-like syntax it uses. This blog post has some "before and after" code showing the same tests/specs implemented at unit tests, and as Rspec stories: http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-... To me t…
Comment linking /blog/2007/9/1/user-stories-with-rspec-s-story-runner
on “DSLs expand the solution space, GUIs limit it to the creator's vision”Submitted Why You Have to Work for a Startup as a story · 6 points
HN discussionSubmitted Nice example of using TDD + Ruby's dynamism to design better methods as a story · 4 points
HN discussion