Live data from Hacker News

Viewing profile — ootachi

ootachi

HN member
Joined
Wed, Oct 13, 2010, 4:17 AM UTC
HN karma
1,513
Public activity
473 items

About ootachi

No profile information was provided.

Recent public activity

  1. comment
    Comment #3786371

    I apologize for the above comment. I am being extremely uncharitable to Go and I retract what I have said. In particular I apologize for bringing this up in every Go discussion.

  2. comment
    Comment #3784713

    Java avoids casts in most cases with generics, it supports inheritance, and it has a simple type system. Ditto with C#. (I also haven't heard people complain about the complexity o…

  3. comment
    Comment #3784302

    How do you have greater control over whether your code generates garbage in Go? The only difference between Java's memory model and Go's memory model is that, in Go, you can put st…

  4. comment
    Comment #3784279

    I think your warnings about complexity in the type system are prudent, but your comment about casting is off. Casting (with the exception of primitive types) is a very blunt hammer…

  5. comment
    Comment #3782861

    Why not just use Java? Java was designed as a reaction to the complexity of C++. Scala was, in turn, designed as a reaction to the simplistic nature of Java. It sounds like you pre…

  6. comment
    Comment #3780771

    Go has C++-style classes. Anonymous fields are just C++ multiple inheritance with a different name (and without virtual functions or downcasts).

  7. comment
    Comment #3780751

    Now you've moved the goal posts. You can write free lists manually in Java as well. Doing so is incredibly awkward in Java or Go, compared to C++ where placement new makes it fairl…

  8. comment
    Comment #3780739

    I'm quoting the numbers that Vitess observed.

  9. comment
    Comment #3780724

    Er... you want expressiveness, so you ditch JavaScript and use Java ?

  10. comment
    Comment #3779126

    What choice did they have? Either break compatibility, or use type erasure.

  11. comment
  12. comment
    Comment #3768680

    Why would you move from Haskell to Go? There's a night-and-day difference between them. I don't understand why you'd switch to a language because of the features it's lacking, unle…

  13. comment
    Comment #3768200

    Nonsense. You would hate Android written in Go, because of the GC pauses. Dalvik has a concurrent garbage collector; Go has a stop-the-world one.

  14. comment
    Comment #3768189

    Up until the point you want to return an object from your container, sure. Then you have to return a Comparable and the user has to downcast it into the right object. Plus, you pay…

  15. comment
  16. comment
    Comment #3768169

    Chrome could not be written in Go, due to the stop-the-world GC. 200ms GC pauses are completely unacceptable for a web browser.

  17. comment
    Comment #3760060

    I bet most people get the "protected" one wrong, because it's actually strictly less restrictive than package access in Java. That is, protected members can be accessed by anyone w…

  18. comment
    Comment #3754473

    Everyone already has Skype. That hurdle was overcome a long, long time ago. Skype is an application that is just as ubiquitous as the web browser these days.

  19. comment
    Comment #3753403

    People don't use Web browsers for video chat. They use Skype. Getting people to change will be hard, especially since the browser offers no real benefits over Skype. I'm not saying…

  20. comment
    Comment #3752871

    Odd that you say that, because the language that's most similar to Go here is Java, with its checked exceptions. The same reasoning that led to Go's error codes (that you should al…

  21. comment
    Comment #3752850

    This doesn't seem to have anything to do with type erasure, does it? It's needed for type-safe generics. Even without type erasure, you still need type safety. If your generics are…

  22. comment
    Comment #3752748

    I have a feeling you're going to get a bunch of type theorists instead of programmers who get things done if you ask about Java's syntax for use-site contravariance.

  23. comment
    Comment #3752731

    What do you do then? If the answer is "panic", note that exceptions are superior here, since exceptions let you "panic" without having to litter your code with those calls. If the …

  24. comment
    Comment #3751580

    Because panic/recover are bad exceptions (recover can't specify the types of the exceptions it wants to recover from), and the libraries don't use them. Having to check errors is a…

  25. comment
    Comment #3751482

    Go has exceptions. They are called panic/recover. This has been explained to you time and time again. You keep posting this exact same comment, complete with the "COME FROM" analog…