Live data from Hacker News

Viewing profile — olavk

olavk

HN member
Joined
Sun, Aug 19, 2007, 10:48 AM UTC
HN karma
3,485
Public activity
1,444 items

About olavk

No profile information was provided.

Recent public activity

  1. comment
    Comment #18295238

    If you only write code which you yourself will read and maintain, then you should definitely do whatever you feel works best for you and matches your way of thinking.

  2. comment
    Comment #18294714

    Well written code is obviously better than badly written code. But why assume the functional-style is better written than the idiomatic Python? I think a good developer understand …

  3. comment
    Comment #18294569

    I believe it started as a way to model real-world object. Simula was designed for simulations. But OO turned out to be useful for much more. The simulation use case mostly live on …

  4. comment
    Comment #18291153

    I like removing superfluous punctuation, but if parentheses are removed from method signatures than they should also be removed from invocations, which in turn comes with its own s…

  5. comment
    Comment #18282269

    Haskell does not have borrowing and lifetime specifiers though, which is what makes the Rust example more dense.

  6. comment
    Comment #18282264

    It is somewhat unfair to compare this to Python, since a lot of the simplicity in Python comes from the semantics (dynamically typed, garbage collected and so on). Rust need to exp…

  7. comment
    Comment #18282160

    What editor does not support indenting a block? In most editors I know you select the block and hit tab, or shift-tab to outdent.

  8. comment
    Comment #18281871

    So again a pet hypothesis which can explain both rising and falling IQ. So what observation could theoretically disprove this hypothesis? Note that you can state exactly the opposi…

  9. comment
    Comment #18281793

    > The roman civilization used lead pipes for drinking water. True, but the theory that this affected public health is a myth.

  10. comment
    Comment #18281788

    Amazing that the same pet hypothesis can explain both rising and falling IQ.

  11. comment
    Comment #18281432

    So why is IQ increasing in the US while declining in Northern Europe?

  12. comment
    Comment #18281413

    So why is this happening in Scandinavia but not in the US? Doesn't the US have just as many play stations and smartphones?

  13. comment
    Comment #18281367

    Django is not going to be rewritten in Julia. Neither is Linux going to be rewritten in Python. Different languages have different domains. Some of these comments seem to think all…

  14. comment
    Comment #18281350

    Rust will not steal Pythons dinner, they are used for completely different domains. The comment was saying that Rust might be a realistic alternative to C/C++/Fortran for modules w…

  15. comment
    Comment #18281304

    Good point about the learning curve. I don't think Rust is especially difficult overall, but you need to understand a lot before you get anywhere. Haskell kind of have the same pro…

  16. comment
    Comment #18281271

    Comparing Haskell to JavaScript is silly - JavaScript is popular because it is the only option in the browser. It has noting to do with the quality of the language itself. If VBScr…

  17. comment
    Comment #18281172

    PEP-8 (more than 15 years old) recommend spaces, so unless you are deliberately looking for a fight, the question is settled. Autoindent is a solution to a problem that doesn't exi…

  18. comment
    Comment #18263735

    You will see a lot of caricatures and ethnic stereotypes in Asterix. Primarily of European and Mediterranean nationalities though. A lot of the stories are Asterix and Obelix trave…

  19. comment
    Comment #18262022

    The Icelandic sagas certainly also portrays emotions. The characters are very much driven by emotions. The point is it is displayed entirely through their actions, not by internal …

  20. comment
    Comment #18256098

    I think the "I'm going to get downvoted for this..."-baiting leads to a lot of reflexive upvotes and downvotes regardless of the actual content of the comment.

  21. comment
    Comment #18227374

    Oh I know Go, just haven't used it for numerical tasks. If Add(x, y) is just as maintainable as x + y, why does Go use operators for the regular numeric types? Why have + at all?

  22. comment
    Comment #18201820

    Is that really true? Sure you can write cryptic code using operator overloads, but the convention is to only use them in cases where they improve readability. For example numpy cod…

  23. comment
    Comment #18201775

    Yeah that is what I meant, sorry for being unclear.

  24. comment
    Comment #18200948

    True, Python allows a lot of crazy hacks like monkeypatching, dynamically creating classes and so on. It is there if you need it. It is not like in Java where those things are simp…

  25. comment
    Comment #18176675

    A small-caps header made only with -tags. From the time when web designers cared about the craft!