An unofficial, read-only Hacker News reader.

2035 came early (opens external site)

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

View full thread · View on Hacker News

Comment thread (7)

  1. I don't get the hate for any mainstream language.

    I mean, you can hate a language compared to another language, but to the point of making you hate programming? To me, if you do, you probably don't really like programming in the first place. Especially considering that Javascript is a conventional language with variables, conditions, loops, functions, etc... the kind that should be mostly transparent to an experienced programmer.

    It would be like a woodworker saying that pine made him hate woodworking, sure, you may prefer to work with oak, but pine is still wood.

    Replies (3)
    1. the stdlib is ass, the language is crude (just look at available data types), and the ecosystem is managed by groups of unsupervised children.

      > It would be like a woodworker saying that pine made him hate woodworking, sure, you may prefer to work with oak, but pine is still wood.

      It would be like woodworker getting dull tools to work and wood being rotten

    2. This is silly. In ruby I can put down my thoughts 4x faster than if was writing JS. The syntax is more readable. etc. Each to their own but can't stand looking at JS nevermind all it's weird quirks we still have to live with.

      Your analogy with woodworking is deeply flawed as well. Woodworkers do actually strongly prefer certain types of wood.

      Replies (1)
      1. See ruby to me is such a mess of a language. It does not jive with the way I think at all. It takes me 4x longer to write something in Ruby vs Python, Javascript or Swift.
    3. > 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.