Live data from Hacker News

Viewing profile — goto11

goto11

HN member
Joined
Thu, Oct 25, 2018, 10:19 AM UTC
HN karma
5,798
Public activity
2,446 items

About goto11

No profile information was provided.

Recent public activity

  1. comment
    Comment #48255348

    C# was always better than Java as a language. The strength of Java is the ecosystem, and Java being open source and cross-platform from the beginning.

  2. comment
    Comment #48255296

    Yes, you must have individual constructors for the left and right cases in order to distinguish them. In C# you would use two distinct record types for this. Haskell’s syntax is mo…

  3. comment
    Comment #48252647

    You cant have a `type Foo = String | Strimg` in Haskell either.

  4. comment
  5. comment
    Comment #48252541

    Well it is a type union. The union of string and string is just string.

  6. comment
    Comment #40259532

    There is no "the interest of the people". There are lots of different people with different and often conflicting interests.

  7. comment
    Comment #39142851

    Half of his clever quotes are completely bonkers though and have been disproven by history. How many of you are proving your programs correct before entering them into the computer…

  8. comment
    Comment #39142755

    The GOTO-paper is widely misunderstood though. It is making a case for blocks and scopes and functions as structures which makes it easier to analyze and reason about the execution…

  9. comment
    Comment #38890960

    Sure, you can use parentheses everywhere, but the code would be quite noisy. Do you think this: ((window.location).href) == foo; is more readable than: window.location.href == foo;…

  10. comment
    Comment #38890477

    Thank you for this additional context. So in short, bitwise operators have lower precedence than comparisons to allow you to write: if (a==b & c==d) ... but of course, this means y…

  11. comment
    Comment #38846359

    I think it would be adopted exactly as widely as JavaScript is. People choose JavaScript because it is supported by the browser, not because they think it has a beautiful syntax. I…

  12. comment
    Comment #38846218

    Netscape had market dominance at the time so Internet Explorer had to keep bug-for-bug compatibility with Netscape to keep up. Given the amount of bugs and the lack of documentatio…

  13. comment
    Comment #38846160

    Scheme would probably be the most hated language in the world.

  14. comment
    Comment #38831742

    > Manage your time better. Thank you for the advice which is no doubt well-intentioned. But don't kid yourself. If you use your spare time for research and development to solve pro…

  15. comment
    Comment #38804723

    Are you perchance working in academia? Your suggestion seems to assume unlimited time and resources to write everything yourself, while the purpose of using third-party components …

  16. comment
    Comment #38771378

    > Identifying high-quality libraries and frameworks that meet your project needs This is a really important skill that I find difficult and frustrating. Does anyone have good advic…

  17. comment
    Comment #38770401

    But this is just computed gotos. There is no continuation passed. Arguably the main point of continuation-passing style is that you pass a continuation along with the jump. Hence t…

  18. comment
    Comment #38752213

    GOTO does not pass a continuation though, so I can't see how it is similar to continuation-passing style. GOTO is just a jump like jumps in machine code. BASIC does not have notion…

  19. comment
  20. comment
    Comment #38689165

    > "When I was younger, I looked at my great grandad's prisoner-of-war diaries and I just love everything about the period." Is this some kind of understated British humor?

  21. comment
    Comment #38679971

    The Grimm Brothers didn't write the stories, they collected and published folktales. In any case they would have been been out of copyright since Jacob Grimm died in 1863. Disney d…

  22. comment
    Comment #38571405

    It is still type inference though. If 2 is an int, the compiler perform type inference to figure out that the expression 2 + 2 is also an int. It is just that traditional languages…

  23. comment
    Comment #38571275

    But that would only help you if you assign the numeric literal directly to a variable. If you use it in an expression like `foo(10)` or `10 * bar` you would still not see the numer…

  24. comment
  25. comment