Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
da39a3ee
· 5y ago · 0 comments
It seems like a bad idea to use the same “where” syntax for definitions and test cases, especially since a major aim of this is education.
Comments
[–]
jpolitz
5y ago
The `where:` syntax ought to only be for test cases attached to functions. Maybe this comment is a useful answer:
https://news.ycombinator.com/item?id=28265210