• 0 Posts
  • 49 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle



  • writing code normally

    ocaml-lsp: syntax error

    ocaml-lsp: syntax error

    ocaml-lsp: syntax error

    ocaml-lsp: syntax error

    ocaml-lsp: okay, probably okay

    ocaml-lsp: syntax error

    ocaml-lsp: syntax error

    ocaml-lsp: wait, the entire function is wrong

    me: WHAT, where

    ocaml-lsp: like the entire thing, 20 lines of it,

    a -> (b -> c -> d) -> [200 other types] ->g
    

    doesn’t match

    a -> (b -> c/2 -> d) -> [200 other types] ->g
    

    , c doesn’t match c/2.




  • Yeah, it is one of the problem I have about Haskell.

    The other two are lazy evaluation makes print debugging almost impossible, you will need to print the entire environment to figure out where you are.

    Finally, I feel like List.fold, state monad, lens are basically just working with mutable structure with extra steps. Although this constructs prevent newbies who are not principled enough to effectively use mutable structure from using mutable structure, but it also doesn’t help experienced user to write more effective and clean code.

    Mutuabilty are certainly not harmless either. For example in ocaml, if you construct the IntSet type twice, they will be two completely different type. But this behavior can be pretty easily avoided by an experienced user.

    What do you feel about these features/shortcomings?










  • Uh that makes sense. I guess my original comment is more out of jealousy: I have so many movies that I want to watch, but I have never find the time and energy to do so. After work, dinner, chat, duolingo, and lunch prep for my wife, I barely find any time during my night, and it is kind of frustrating for me.

    Last year, I have only finished like less than 5 from like 50 titles.

    I am glad people are enjoying their hobby. I personally would not be on Netflix anymore as most of the movie I want to watch is not on there, but I can now kind of see it might be worth it for others.

    It also surprises me that this large amount of the population takes movie and TV as a hobby.