News for hackers. Stuff that matters.
Re:OCamlers' critiques of Haskell by pjmlp on Thursday August 27, 2015 @02:59AM (#10127958)
> Why would manual refactoring be better than let's say in more dynamic languages?

The compiler won't let you generate an executable if you missed a code location.

Whereas in dynamic languages you never know if you have covered all the code locations.

Re:OCamlers' critiques of Haskell by mateuszf on Thursday August 27, 2015 @03:17AM (#10128007)
Ok, but it's the same feature as in other static typing languages, like C/C++/Java?
Re:OCamlers' critiques of Haskell by tome on Thursday August 27, 2015 @03:30AM (#10128046)
Yes, but pjmlp is massively understating the case. Haskell's type system and fine-grained level of compositionality is remarkably helpful when it comes to refactoring.
Re:OCamlers' critiques of Haskell by pjmlp on Thursday August 27, 2015 @05:58AM (#10128464)
Yeap, I was just presenting the broader picture, specially since in the enterprise space, unit tests have even lower priority than documentation.
Re:OCamlers' critiques of Haskell by dllthomas on Thursday August 27, 2015 @11:59PM (#10133672)
Although you can get some serious mileage out of C's type system (such as it is). Refactoring in Python is... broken. I can't imagine why anyone would use Python when they need their code to stay nimble.