by yogthos · 8y ago · 0 comments
I'm pretty sure I could get a student to write useful Haskell code in that time span with just mentoring and existing documentation material.
With Clojure, we're able to do a very quick ramp up, and then have new hires write code with very little assistance from the rest of the team. I simply haven't seen this be the case with Haskell even for experienced developers.
The people I mentored, though, could clarify any misunderstanding and get explanations from multiple viewpoints from me -- after years of experience with these abstractions. With such mentoring, you don't have to go through all the confusion phases.
If Haskell works for your team that's great though, it did not work for mine.
We don’t all have to be at EK, BM or GGs level.
Unless Haskell drastically fixed its record syntax recently, this is definitely not the case.
import Control.Lens
data MyRecord = MyRecord { _a :: Int, _b :: MyRecord }
makeLenses ''MyRecord
Then you can use it nested like: over (b . b . a) (+5) myRecord