[–] 3 points 9 months ago (1 child)

Eh, it's just different. Other languages are hard in other ways. Haskell's at least have very good reason behind them.

I write Haskell professionally and and am teaching to people without any experience, and it's really no different than anything else. Though I will say that my experience is that university professors are often pretty clueless about the language and don't teach it well.

  • source
  • parent
  • context
  • [–] 4 points 9 months ago

    Just looking at the image, yeah he's a little parser combinator library entirely from scratch.

    Not sure what you mean by verbose type declarations. It looks to be 2 type declarations in a few lines of code (a newtype for the parser and a sum type to represent the different types of JSON values). It's really not much at all.

  • source
  • parent
  • context
  • [–] 2 points 9 months ago

    Yep, that's exactly what we do, and it tends to work. Can take a bit for some foods and sometimes he's just really into just one thing right now, but overall it's much better than trying to force feed him broccoli or whatever.

  • source
  • parent
  • context
  • [–] 4 points 9 months ago (1 child)

    It's not bullshit. Research shows that kids need multiple exposures to new foods before they're willing to accept them. It's important to keep offering foods a child has refused before (without pressuring them to eat them, by the way).

  • source
  • parent
  • context
  • [–] 20 points 9 months ago* (2 children)

    It's not performative. Research shows that kids can need 8-10 or more exposures to a new food before they're willing to accept it. It's important to keep offering foods even if they've refused it before.

    I've personally seen this effect with my 2 year old son. Had absolutely no interest in noodles of any kind for a long time, yet we kept offering them, and one day he decided to try them and loved them. In fact, most new foods he eats are a similar story.

  • source
  • [–] 4 points 9 months ago

    Modern calculators can switch modes between decimal and fractions. It's pretty irrelevant.

    Also, someone may do the problem themselves using any number of means that involve decimals. Or maybe they simply prefer to write in decimal. Either way, the program is simply wrong.

  • source
  • parent
  • context
  • view more: ‹ prev next ›