News for hackers. Stuff that matters.
Re:Cyclic dependencies are evil (2013) by sbelskie on Saturday January 30, 2021 @11:55AM (#25970645)
I’m having a hard time understanding why you think F# is unable to handle the domain model presented.
Re:Cyclic dependencies are evil (2013) by mattgreenrocks on Saturday January 30, 2021 @12:44PM (#25971119)
It reads as an extremist take on Chesterton’s Fence: “the fence exists, therefore it is probably the only thing that could’ve worked.”

There is nothing in this contrived example that F# or Haskell (gasp, pure functional) wouldn’t handle with ease. It just would be modeled differently from traditional langs. I’d argue the alternative modeling forced by FP langs would be superior.

Re:Cyclic dependencies are evil (2013) by hutzlibu on Saturday January 30, 2021 @04:32PM (#25973220)
" I’d argue the alternative modeling forced by FP langs would be superior."

Then I'd like to see that. The other example of the functional someone gave more above, was not convincing to me. Much more complicated then the straight-forward simple, but evil cycle approach.