News for hackers. Stuff that matters.
Re:Linear types make performance more predictable by Ixiaus on Tuesday March 14, 2017 @09:17PM (#13873057)
It certainly inherits a lot from that culture but there's a fast-growing number of industry programmers using Haskell that are bringing more approachable styles to the language; most notably: using partial functions as little as possible, using let bindings more often, using applicative-do, making variables names a bit more descriptive when it makes the waters clearer, using descriptive data type names, documenting the fields of records, documenting the arguments to a function if the types don't make it crystal clear, etc.
Re:Linear types make performance more predictable by girvo on Tuesday March 14, 2017 @11:06PM (#13873513)
Interestingly, what you've described sounds a lot like most of the OCaml I've come across (and written). I suppose that makes sense, really!
Re:Linear types make performance more predictable by fmap on Wednesday March 15, 2017 @08:32AM (#13875617)
That's a relief. All the OCaml that I've seen has been a horrible mess of single character identifiers without comments or type annotations...
Re:Linear types make performance more predictable by zzleeper on Tuesday March 14, 2017 @09:32PM (#13873117)
Is there a style guide for that? Looks incredibly useful (i.e. a Haskell pep8)
Re:Linear types make performance more predictable by mrkgnao on Wednesday March 15, 2017 @01:44AM (#13874064)