Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Is your code Clean enough?

Name: Anonymous 2016-01-20 13:09

Hi, Everyone. I'm slowly learning Haskell and something that slows me down is how different the culture and style is from Clean Coding. (I.e., Clean Code: A Handbook of Agile Software Craftsmanship)

I'm coming from Ruby, and CC is hugely influential. E.g., Code should be self-documenting with descriptive variable and function names. Functions should be very short and each one's expressions should all be at a similar level of abstraction.

Sandy Metz's Rules are also very prominent. E.g.:

Methods can be no longer than five lines of code.
Pass no more than four parameters into a method.


But the Haskell docs and code examples in posts are pretty far from this style, e.g. I see one-letter identifiers, multiple levels of nesting, functions which are many lines long, etc.

EDIT: Cf. Elixir, where Haskel's a becomes any.

What do haskellers think of this? To me, much Haskell code is unnecessarily obfuscated.

Name: Anonymous 2016-01-20 14:07

Arthur T. Murray, a.k.a. Mentifex, is a notorious kook who makes heavy use of the Internet to promote his theory of artificial intelligence (AI). His writing is characterized by illeism, name-dropping, frequent use of foreign expressions, crude ASCII diagrams, and what has been termed “obfuscatory technobabble”.

Murray claims to have received a Bachelor’s degree in Greek and Latin from the University of Washington in Seattle in 1968 [26]. He has no formal training in computer science, cognitive science, neuroscience, linguistics, nor any other field of study even tangentially related to AI or cognition. He works as a night auditor at a small Seattle hotel [3, p. 25] and is not affiliated with any university or recognized research institution; he therefore styles himself an “independent scholar”. Murray claims that his knowledge of AI comes from reading science fiction novels [41].

Murray is notorious for posting thousands of messages to Usenet promoting his AI software, book, websites, and theory. Most of these messages are massively cross-posted to off-topic newsgroups. Murray takes the mere mention of anything vaguely AI-related as an invitation to post a follow-up directing readers to his own work (e. g., [47]). He claims that people are “crying out” for repetition of his message [48].

Before he had regular access to the Internet, Murray used the US postal system to spread his ideas by mass-mailing prominent AI researchers, computing authors, and sometimes even entire university departments. He boasts that he mailed seven thousand letters in 1989 alone [37].

Murray has also been known to cause disruptions in person. In one notable example, he picketed the 2001 International Joint Conference on Artificial Intelligence [16, 29].

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List