An unofficial, read-only Hacker News reader. Join the beta →

2035 came early (opens external site)

1037 points by setheron 4 days ago | fzakaria.com | 382 comments on HN

View full thread · View on Hacker News

Comment thread (3)

  1. > To me, if you do, you probably don't really like programming in the first place.

    This is exactly the opposite of the truth.

    Programmers don't program because they like variables, conditions, loops and functions. In fact some of the best languages ever created don't have most of those things. Apparently your experience of programming doesn't extend very far given your idea of programming seems to go only as far as those basic concrete concepts.

    There is such thing as neatness, elegance and beauty, especially in programming and mathematics. As in other fields it's the people with the least taste and appreciation of that who are the haters, like yourself, because they don't understand the issue at hand.

    Replies (2)
    1. > There is such thing as neatness, elegance and beauty, especially in programming and mathematics.

      I don’t even think of programs as code. Instead, it’s a sequence of actions on data. Kinda like open the file, search for the lines that contains this pattern, split it like this, sum the first item,… Expressing those in a programming language is fairly mechanical with slight adjustment according to the paradigm. But there is some effort spent there and the syntax can make it unpleasant.

      Reading a program is a whole other matter. The easier a syntax make it to get the idea of a program, the better it is. I don’t like Rust because it’s full of compiler annotations and I don’t like some idiomatic techniques in other languages because they obstruct reading.

      But I wouldn’t go to hate in both occasions.

    2. But you can express elegance and beauty in any language!

      For this, I don't think there are many people, if any who embody these concepts more than Don Knuth. And you know what language he chose for "The Art of Computer Programming" books? Assembly! He has also used Pascal, and C, neither are considered particularly elegant, but it doesn't matter, because the elegance is in the algorithms, not the language. In fact, one of the thing he is best known for, literate programming, could be seen as a testament on how little programming languages matter, by burying it within his prose.