I managed to compile and write my instances for show.
But why is it so hard?
It took me days to notice I had the wrong type of json. Type system was sending me down the wrong path.
Finally, I retrieve the data and show it in a crude way on the page. But is it worth it? I have still to see the benefit of the type system in a practical setting.
How long did you struggle before you were productive?
That is why such languages are not popular and mainstream, it is hard for most people, people are lazy and weak, do not be like people and you’ll be rewarded eventually. -)
Can you be more specific? I got stuck yesterday on a silly error. I spotted the solution, not by reading the error message or nonexistent documentation, but by staring at my code on the next day.
I cannot imagine having the luxury of leaving a problem at the back of my mind until it clicks. So how long should I persist and why?
I am lazy and weak, but what would be the reward? I like the aesthetic beauty of the language. But I did not move to a problem where I could see for myself the real pros and cons.
I do understand that with programming languages, people have different concepts of truth. Sifting through the confusion is not easy. I have given up on PureScript at least 3 times. Should I persist just to annoy those condescending TypeScript people?