Content-Type: text/shitpost


Subject: Fuckin' Reddit, man
Path: you​!your-host​!walldrug​!prime-radiant​!computer​!hal9000​!plovergw​!shitpost​!mjd
Date: 2018-09-04T02:04:38
Newsgroup: talk.mjd.fuckin-reddit
Message-ID: <6ef3b08dd2021377@shitpost.plover.com>
Content-Type: text/shitpost

Yesterday's article about Haskell rabbit holes hit the front page of Hacker News (in fact, it hit #1 for approximately one minute, before it was rightly displaced by a much more important article) and from there it also hit Reddit, of which it is a subreddit with a different stylesheet. You know how people say “don't read the comments”? Reddit is all comments; chew on that for a minute.

Anyway several comments said something along these lines:

wanted to comment that polynomials are better represented backwards, which fixes that (and many other problems) …

apparently without noticing that I did represent them backwards, with the constant term first. So, on the one hand, Reddit Person, obviously I agree with you, and on the other hand, you're a fucking blockhead.

But there was a bright side too. My article was also posted on r/programmingcirclejerk (which is a fair description of it, if I can be considered a sort of degenerate circle) with the title

Haskaller too smart to get anything done

and I have no witty (or merely profane) comeback to that, because the shoe fits. My whole article was some sunbeams-from-cucumbers bullshit, that's for sure.

A different Reddit comment suggested that this was the wrong data structure and I should have used an integer-indexed Map. I had sadly come to this conclusion myself, earlier in the evening, when I realized that the structure I had made it very difficult to handle polynomials over more than one variable. With the Map I would just change the index type to a tuple. Oh well, lesson learned.