Re:Write tests. Not too many. Mostly integration
by pjc50 on Friday October 27, 2017 @06:00AM
(#15567005)
We should probably have two completely different versions of this discussion for typesafe and type-risky languages, since typechecking is effectively a form of testing at both unit and integration level.
[ Parent
| on HN ]
Re:Write tests. Not too many. Mostly integration
by hinkley on Friday October 27, 2017 @01:20PM
(#15570378)
I suspect I’ll be shifting from Node to Rust or one of its contemporaries at some point in the near future. I’ve given dynamic languages a very fair chance, kept an open mind and adopted its strategies instead of writing Pascal in any language, but it has failed to impress me.
I want a statically typed language with reasonable affordances for FP, for the 20% of the code that is dead ugly when forced into object structure.
Re:Write tests. Not too many. Mostly integration
by lloyd-christmas on Friday October 27, 2017 @02:42PM
(#15571073)
Is your decision mainly based on type-safety? We converted all of our nodejs to typescript primarily for easier refactoring,
but it still hasn't fully satisfied our desire for change. We are thinking of switching to rust as well. We couldn't get past the Go generics argument, and would also prefer something staying towards the functional side. Any other languages you are considering?