Skip to main content
18 events
when toggle format what by license comment
Jul 8, 2017 at 12:36 comment added GnP You may find this blog useful. Or at least interesting.
Jul 7, 2017 at 17:49 answer added t3chb0t timeline score: -2
Jul 6, 2017 at 17:41 answer added DylanSp timeline score: 4
Jul 6, 2017 at 13:55 comment added Reinstate Monica Managing mutable state in a complex pure functional program without substantial language assistance is a huge pain. In Haskell it's manageable because of monads, terse syntax, very good type inference but it can still be very annoying. In C# I think you'd have considerably more trouble.
Jul 6, 2017 at 13:20 answer added maaartinus timeline score: 3
Jul 6, 2017 at 12:38 comment added maaartinus @Walfrat The game can evolve by replacing its immutable state by another one. This makes sense when you deal with multiple states when e.g., searching the best move. The disadvantage is having to copy some data, but the overhead may be kept low by properly structuring the state. I used immutable design for a very simple game and it worked well.
Jul 6, 2017 at 11:34 answer added Daniel T. timeline score: 1
Jul 6, 2017 at 9:38 comment added Ben Aaronson @DaishaLynn I don't think you should delete the question. It's been upvoted and nobody's trying to close it, so I don't think it's out of scope for this site. The lack of an answer so far may be just because it requires some relatively niche expertise. But that doesn't mean it won't be found and answered eventually.
Jul 5, 2017 at 22:38 comment added Daisha Lynn I really feel that this is the type of question that someone who has done this type of stuff will have a lot of good suggestions on, and that's what I'm looking for. I'll go ahead and delete this question if I don't get any more responses. Shame that there's no place in the stackoverflow space where beginners can ask experts these types of questions.
Jul 5, 2017 at 20:50 comment added Walfrat Reddit allow naturally more discussion so someone can partially answer and engage discussion, here you need a very well scoped question for one answer to the very problem you face. The criteria for a proper answer and question are higher here because SE sites are supposed to be a repository of knowledge in the form of Q/A not forum when you get just your answer. Your question explain your problem in a way that is too general for a problem. It is possible too that there is not that much people knowing enough functionnal programming that came through your question to answer too.
Jul 5, 2017 at 16:37 comment added Daisha Lynn The comments on these stackoverflow questions always seem to be filled with people talking about how the question isn't clear, etc. I always cross-post to Reddit, and there I get my questions answered.. or at least someone tries to answer. Why can't we do the same thing here? reddit.com/r/functionalprogramming/comments/6lak21/…
Jul 5, 2017 at 16:26 history tweeted twitter.com/StackSoftEng/status/882636893912956928
Jul 5, 2017 at 9:48 comment added Walfrat I don't think we can help that much at this level, we would need to see what concretely your code has been structure to be able to help you improve it.
Jul 5, 2017 at 9:43 comment added Walfrat Your question seemed wider for me that only states. If it's only about managing states here is a start : see the answer and link within stackoverflow.com/questions/1020653/…
Jul 5, 2017 at 9:20 comment added Daisha Lynn Walfrat, I think if you talk to functional programming experts, you'll probably find that they would say that functional programming paradigm has solutions for managing evolving state.
Jul 5, 2017 at 7:25 comment added Walfrat I am no expert in design and specially functionnal, but since your game by nature has a state which evolve, are you sure that functional programming is a paradigm that fit in all layers of your application ?
Jul 5, 2017 at 3:13 review First posts
Jul 7, 2017 at 16:40
Jul 5, 2017 at 3:07 history asked Daisha Lynn CC BY-SA 3.0