3 ms·
Hmmm... Not really. People familiar with BASIC can read most C++. People glancing at a Russian Newspaper see sentences, words, stories. I've seen a fair am
by CharlesMerriam2 13y ago
Hmmm... Not really. People familiar with BASIC can read most C++. People glancing at a Russian Newspaper see sentences, words, stories.
I've seen a fair amount of lambda style code, prolog, and so on. This code just looks ugly.
- eru 13y agoFor what it's worth, this is perfectly standard Haskell code, perhaps even on the simpler side. (Not saying that you have to like it. Just giving perspective.)
- chowells 13y agoAuthor of the article here. I learned to program very young. I was fluent in BASIC as my first language. I couldn't read the slightest bit of C++ when I first exposed to it. The syntax is hugely different because it's optimized for handling features. There are new operators like ++ everywhere. There's crazy template stuff. I couldn't even start to guess at what the various unary * and & operator applications meant. I eventually learned enough C++ to make sense out of those constructs. The reason they show up is that they make sense for operating at the level C++ is intended to operate at. Haskell introduces a lot more new ideas than C++ ever did. It has radically different syntax than C++ because it makes it easy to work at the level Haskell is intended to work at. There is no way in which the code in that article is ugly. It's very simple, very clean code that uses ideas you've never been exposed to, in syntax that reflects those ideas. And I'm glad to have backup from someone else who knows the language in a sibling comment.
- saraid216 13y ago> People glancing at a Russian Newspaper see sentences, words, stories. Of course they do. That's because a Russian newspaper is using the same design language as an English newspaper. But the semantic language itself isn't legible. You can't tell that яблоко is a kind of fruit by "glancing" at it, unless you know Russian.