Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jimmyspice
on Nov 4, 2018
|
parent
|
context
|
favorite
| on:
Why I love Common Lisp and hate Java (2012)
Well the fluent style is more verbose, but has the advantage of telling you more information about what went wrong. You get a report telling you that "x was not equal to y" rather than "expected true". The verbosity is way more helpful to me.
polityagent
on Nov 4, 2018
|
next
[–]
or you can use a language with macros, then a testing library can report the code being evaluated and the values in it.
sidlls
on Nov 4, 2018
|
prev
[–]
Even Java has testing libraries that provide optional failure case messages with asserts to provide specific context where necessary.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: