by ardz · 12y ago · 0 comments
This hard fact says more than thousand committee reviews.
Most likely, the Haskell development time includes the time to write 465 lines of documentation, while the Lisp development time includes the time to write 12 lines of documentation. That makes it pretty obvious where the discrepancy in time comes from.
reverse (PS x s l) = unsafeCreate l $ \p -> withForeignPtr x $ \f -> c_reverse p (f `plusPtr` s) (fromIntegral l)
form http://www.haskell.org/ghc/docs/latest/html/libraries/bytest...
People who write code like this should be banned. Code should be written in a way to be easily read by people, not a compiler. This is not a coincidence that there are 500 lines of documentation. This is how typical Haskell code looks like.
Writing documentation for Haskell programs seems to be needed - especially short Haskell programs written by experts tends to be cryptic.
There was a second Haskell program. 8 hours to write, still far from 3 hours for Lisp.
Pen and paper are my debugging tools, not a type system.